basic video fetching

This commit is contained in:
partisan 2024-04-10 22:40:12 +02:00
parent 48642bdd96
commit cca6660c95
4 changed files with 177 additions and 0 deletions

View file

@ -111,6 +111,8 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
handleTextSearch(w, query, safe, lang)
case "image":
handleImageSearch(w, query, safe, lang, page)
case "video":
videoSearchEndpointHandler(w, r)
default:
http.ServeFile(w, r, "static/search.html")
}