summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-04-11 02:09:28 -0700
committerSteve Manuel <nilslice@gmail.com>2017-04-11 02:09:28 -0700
commit39ed91df81073489b485fae9a437fdb74954c40b (patch)
treed4d6edf11c85002dd38cca0f758bc7b47c3a89d6 /system/api/server.go
parent31ba833f6cf0ac7bce42e8b9b8b44a3020e140b9 (diff)
parent6c340440a24b6b0b309c0ef3554297e758823f7d (diff)
Merge branch 'throttle-sort'
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 c568877..209ddaa 100644
--- a/system/api/server.go
+++ b/system/api/server.go
@@ -13,4 +13,6 @@ func Run() {
http.HandleFunc("/api/content/update", Record(CORS(updateContentHandler)))
http.HandleFunc("/api/content/delete", Record(CORS(deleteContentHandler)))
+
+ http.HandleFunc("/api/search", Record(CORS(searchContentHandler)))
}