basic map results + improved fetching from piped
This commit is contained in:
parent
1efca320c8
commit
6c9ec56327
9 changed files with 239 additions and 20 deletions
2
main.go
2
main.go
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue