summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-03-07 00:40:24 -0800
committerGitHub <noreply@github.com>2017-03-07 00:40:24 -0800
commitc8bd692a44795f9354acb4583dc35ec3a2604096 (patch)
treee08663cff0a1879534c5434e52916b6649e1f056 /system/api/server.go
parent50613a4972b41d650857e88eae65b2a0e11176ce (diff)
parentd690a82142f3a7c7fa899b970359e3e1da5ea238 (diff)
Merge pull request #93 from ponzu-cms/ponzu-dev
[core] Add Updateable interface and HTTP/2 Push fixes
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)))
}