mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-11-11 22:38:05 +01:00
[#6744] added partial webp tumbs support
This commit is contained in:
1 parent
a2b89d7344
commit
5d46fb054e
3 files changed
+5
-2
No files matched your search
+1
-1
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user