i need better way to cache images

This commit is contained in:
partisan 2024-09-12 22:11:39 +02:00
parent 61af6fc453
commit d107d41d72
8 changed files with 59 additions and 33 deletions

View file

@ -183,7 +183,7 @@ func runServer() {
http.HandleFunc("/", handleSearch)
http.HandleFunc("/search", handleSearch)
http.HandleFunc("/suggestions", handleSuggestions)
http.HandleFunc("/img_proxy", handleImageProxy)
http.HandleFunc("/imgproxy", handleImageProxy)
http.HandleFunc("/node", handleNodeRequest)
http.HandleFunc("/settings", handleSettings)
http.HandleFunc("/save-settings", handleSaveSettings)