summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-03-07 00:01:12 -0800
committerGitHub <noreply@github.com>2017-03-07 00:01:12 -0800
commit87003e7896d014041532b4c3a20842939ed972ea (patch)
treefc39d65aaeadad2acb1ddb96cae4e525201108bb /system/api/server.go
parent50613a4972b41d650857e88eae65b2a0e11176ce (diff)
parent986a2130a59b25fdc7730b3a974d5f5338bd7cb1 (diff)
Merge pull request #92 from kkeuning/ponzu-dev
Allow for external api updates to content items
Diffstat (limited to 'system/api/server.go')
-rw-r--r--system/api/server.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/api/server.go b/system/api/server.go
index c5c1a23..6a848dd 100644
--- a/system/api/server.go
+++ b/system/api/server.go
@@ -9,4 +9,6 @@ func Run() {
http.HandleFunc("/api/content", Record(CORS(Gzip(contentHandler))))
http.HandleFunc("/api/content/external", Record(CORS(externalContentHandler)))
+
+ http.HandleFunc("/api/content/update", Record(CORS(updateContentHandler)))
}