diff options
| author | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:30:48 -0700 |
|---|---|---|
| committer | Steve Manuel <nilslice@gmail.com> | 2016-10-26 12:30:48 -0700 |
| commit | 699a1a5076d683d0e59b2edbe9e05b6886c0bc88 (patch) | |
| tree | b23bea9b36163fd57b5840ed6d5a11eaed82bb2d /system/api/server.go | |
| parent | fcea30925bfadb43d0b5895e8aa2ec22bec14b35 (diff) | |
debugging and code reorg
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 da73382..816bc21 100644 --- a/system/api/server.go +++ b/system/api/server.go @@ -9,4 +9,6 @@ func Run() { http.HandleFunc("/api/posts", CORS(postsHandler)) http.HandleFunc("/api/post", CORS(postHandler)) + + http.HandleFunc("/api/external/posts", CORS(externalPostsHandler)) } |
