From afe92b2bcd3b8e914496006a414ad9b95dba3f0b Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Fri, 7 Apr 2017 20:36:07 -0700 Subject: add initial implementation of api search handler with full-text search by type --- system/api/server.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'system/api/server.go') 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))) } -- cgit v1.2.3