summaryrefslogtreecommitdiff
path: root/system/api/server.go
diff options
context:
space:
mode:
authorSteve <nilslice@gmail.com>2017-04-11 19:51:23 -0700
committerGitHub <noreply@github.com>2017-04-11 19:51:23 -0700
commit3c277a7c41aed0fe3e59fa1ccfd19b48d810b545 (patch)
tree7467eaae0e4ce120529d1984f7a0792a7216d5af /system/api/server.go
parent31ba833f6cf0ac7bce42e8b9b8b44a3020e140b9 (diff)
parent53e6675bc24ff356bc6cc35600fe4e7a8d068996 (diff)
Merge pull request #116 from ponzu-cms/ponzu-dev
[core] Configurable full-text search with Bleve + search API endpoint
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)))
}