basic map results + improved fetching from piped

This commit is contained in:
partisan 2024-04-15 22:34:50 +02:00
parent 1efca320c8
commit 6c9ec56327
9 changed files with 239 additions and 20 deletions

View file

@ -109,6 +109,8 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
handleImageSearch(w, query, safe, lang, page)
case "video":
videoSearchEndpointHandler(w, r)
case "map":
handleMapSearch(w, query, safe) // implement map results
default:
http.ServeFile(w, r, "templates/search.html")
}