fix fonts loading
This commit is contained in:
parent
79660f803d
commit
e65155c5b0
2 changed files with 9 additions and 9 deletions
4
main.go
4
main.go
|
@ -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")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue