[#6744] added partial webp tumbs support

This commit is contained in:
Kev 🐶
2025-04-20 12:36:45 +02:00
committed by GitHub
parent a2b89d7344
commit 5d46fb054e
3 changed files with 5 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ import (
"golang.org/x/sync/singleflight"
)
var imageContentTypes = []string{"image/png", "image/jpg", "image/jpeg", "image/gif"}
var imageContentTypes = []string{"image/png", "image/jpg", "image/jpeg", "image/gif", "image/webp"}
var defaultThumbSizes = []string{"100x100"}
// bindFileApi registers the file api endpoints and the corresponding handlers.