summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'system/api/server.go')
-rw-r--r--system/api/server.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/api/server.go b/system/api/server.go
index 6a848dd..c568877 100644
--- a/system/api/server.go
+++ b/system/api/server.go
@@ -8,7 +8,9 @@ func Run() {
http.HandleFunc("/api/content", Record(CORS(Gzip(contentHandler))))
- http.HandleFunc("/api/content/external", Record(CORS(externalContentHandler)))
+ http.HandleFunc("/api/content/create", Record(CORS(createContentHandler)))
http.HandleFunc("/api/content/update", Record(CORS(updateContentHandler)))
+
+ http.HandleFunc("/api/content/delete", Record(CORS(deleteContentHandler)))
}