1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-24 15:29:26 +02:00

[#1469] added webp to the image mime types presets

This commit is contained in:
Khairul Haaziq 2023-01-03 05:02:14 +08:00 committed by GitHub
parent 5ef6b3a8be
commit 41ba7e12e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -133,6 +133,7 @@ func init() {
"image/png", "image/png",
"image/svg+xml", "image/svg+xml",
"image/gif", "image/gif",
"image/webp",
}, },
}, },
}, },

View File

@ -82,10 +82,11 @@
"image/png", "image/png",
"image/svg+xml", "image/svg+xml",
"image/gif", "image/gif",
"image/webp",
]; ];
}} }}
> >
<span class="txt">Images (jpg, png, svg, gif)</span> <span class="txt">Images (jpg, png, svg, gif, webp)</span>
</div> </div>
<div <div
tabindex="0" tabindex="0"