remove gif from image extensions

This commit is contained in:
icefox 2025-12-31 00:29:42 -03:00
parent cbeb5d8e4c
commit ba6e785f5f
No known key found for this signature in database

View file

@ -21,10 +21,8 @@ var imageExtensions = map[string]bool{
".png": true,
".jpg": true,
".jpeg": true,
".gif": true,
".webp": true,
".bmp": true,
".avif": true,
}
func isImageFile(path string) bool {
@ -308,4 +306,3 @@ func handleIndex(w http.ResponseWriter, r *http.Request) {
tmpl.ExecuteTemplate(w, "index.html", data)
}