added search suggestions
This commit is contained in:
parent
56e527d337
commit
fd78b1d4fa
4 changed files with 482 additions and 0 deletions
1
main.go
1
main.go
|
@ -166,6 +166,7 @@ func runServer() {
|
|||
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))
|
||||
http.HandleFunc("/", handleSearch)
|
||||
http.HandleFunc("/search", handleSearch)
|
||||
http.HandleFunc("/suggestions", handleSuggestions)
|
||||
http.HandleFunc("/img_proxy", handleImageProxy)
|
||||
http.HandleFunc("/node", handleNodeRequest)
|
||||
http.HandleFunc("/settings", handleSettings)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue