fix fonts loading

This commit is contained in:
partisan 2024-04-09 11:10:35 +02:00
parent 79660f803d
commit e65155c5b0
2 changed files with 9 additions and 9 deletions

View file

@ -108,9 +108,9 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
switch searchType {
case "text":
handleTextSearch(w, query, safe, lang) // Handles fetching and rendering text search results
handleTextSearch(w, query, safe, lang)
case "image":
handleImageSearch(w, query, safe, lang, page) // Adjusted: Pass *http.Request to match the function signature
handleImageSearch(w, query, safe, lang, page)
default:
http.ServeFile(w, r, "static/search.html")
}