diff options
author | Kevin Keuning <kkeuning@gmail.com> | 2017-02-24 23:56:00 -0600 |
---|---|---|
committer | Kevin Keuning <kkeuning@gmail.com> | 2017-03-01 23:54:07 -0600 |
commit | 1613413ecc3a88b2263c6ee31faa86ed615483d7 (patch) | |
tree | 2d31ae9a1a6d3fb3ac21386a7176baacdcfb1f24 /system/api/server.go | |
parent | 50613a4972b41d650857e88eae65b2a0e11176ce (diff) |
adding update to api
Diffstat (limited to 'system/api/server.go')
-rw-r--r-- | system/api/server.go | 2 |
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))) } |