summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-31 01:06:36 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-31 01:06:36 -0700
commit76f1af6aad8de62f3df540767e713959c3385c01 (patch)
tree5cb9c7184b94be344492d8fd89c7709a14ccaee9 /system/api/server.go
parent519c5b44d0b36e1f61cb0228889401fa1e33357e (diff)
parent12cd2d10d79b7b8f0666c7f3f145e773f6edaac5 (diff)
Merge branch 'ponzu-dev'
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 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))
}