commit 066d58853c10fd93aa70b831032e964cbc2675bd
parent a27e7f7a8a4cd46e4f4e796b33f486bdd06187cb
Author: breadcat <breadcat@users.noreply.github.com>
Date: Wed, 10 Dec 2025 17:25:01 +0000
Fix thumbnail generator
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/main.go b/main.go
@@ -379,6 +379,7 @@ func main() {
http.HandleFunc("/search", searchHandler)
http.HandleFunc("/bulk-tag", bulkTagHandler)
http.HandleFunc("/admin", adminHandler)
+ http.HandleFunc("/thumbnails/generate", generateThumbnailHandler)
http.Handle("/uploads/", http.StripPrefix("/uploads/", http.FileServer(http.Dir(config.UploadDir))))
http.Handle("/static/", http.StripPrefix("/static/", http.FileServer(http.Dir("static"))))