reformatting html
This commit is contained in:
parent
6fe3685f92
commit
79660f803d
7 changed files with 96 additions and 35 deletions
2
main.go
2
main.go
|
@ -108,7 +108,7 @@ func handleSearch(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
switch searchType {
|
||||
case "text":
|
||||
handleTextSearch(w, r, query, safe, lang) // Handles fetching and rendering text search results
|
||||
handleTextSearch(w, query, safe, lang) // Handles fetching and rendering text search results
|
||||
case "image":
|
||||
handleImageSearch(w, query, safe, lang, page) // Adjusted: Pass *http.Request to match the function signature
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue