diff options
author | Steve Manuel <nilslice@gmail.com> | 2016-12-06 14:19:56 -0800 |
---|---|---|
committer | Steve Manuel <nilslice@gmail.com> | 2016-12-06 14:19:56 -0800 |
commit | 4d46c0631703483c62c90f084aa559f85705ad61 (patch) | |
tree | 2bfaff2a0333fba79146369a735d5a9641d0b028 /system/api/server.go | |
parent | 9bcd849014d8986e72220dc9d8d02888c3dd7103 (diff) |
/*post?s*/ => /*content?s*/ substitution
Diffstat (limited to 'system/api/server.go')
-rw-r--r-- | system/api/server.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/api/server.go b/system/api/server.go index 70add10..823ec16 100644 --- a/system/api/server.go +++ b/system/api/server.go @@ -8,9 +8,9 @@ import ( func Run() { http.HandleFunc("/api/types", CORS(Record(typesHandler))) - http.HandleFunc("/api/contents", CORS(Record(postsHandler))) + http.HandleFunc("/api/contents", CORS(Record(contentsHandler))) - http.HandleFunc("/api/content", CORS(Record(postHandler))) + http.HandleFunc("/api/content", CORS(Record(contentHandler))) - http.HandleFunc("/api/content/external", CORS(Record(externalPostHandler))) + http.HandleFunc("/api/content/external", CORS(Record(externalContentHandler))) } |