hide "map" on no-js website type, fix2
This commit is contained in:
parent
424dd0adab
commit
5b77d2a03c
4 changed files with 14 additions and 11 deletions
2
main.go
2
main.go
|
@ -110,7 +110,7 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
|
|||
case "video":
|
||||
videoSearchEndpointHandler(w, r)
|
||||
case "map":
|
||||
handleMapSearch(w, query, safe) // implement map results
|
||||
handleMapSearch(w, query, safe)
|
||||
default:
|
||||
http.ServeFile(w, r, "templates/search.html")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue