hide "map" on no-js website type, fix2

This commit is contained in:
partisan 2024-04-17 15:02:52 +02:00
parent 424dd0adab
commit 5b77d2a03c
4 changed files with 14 additions and 11 deletions

View file

@ -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")
}