summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2016-10-31 00:59:57 -0700
committerGitHub <noreply@github.com>2016-10-31 00:59:57 -0700
commit645cfa39a92a9f732629f1e3206ca468ff329138 (patch)
tree89fc417b79394fb4fc58de997194b9730acfefc1 /system/api/server.go
parent96ebcb095797fe4947d647ad1aa7572d84609fc0 (diff)
parent682cc2b6d9e3524209fbe3d2773fa31e8de9b88d (diff)
Merge pull request #11 from bosssauce/ponzu-dev
[core] Enable content to be submitted from external clients
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))
}