add webp to supported mimetypes

This commit is contained in:
vulpine 2022-01-11 18:58:28 -05:00 committed by GitHub
parent 1e6103b1f1
commit ac3b26f9f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,6 +20,8 @@ function mime2ext($mime) {
'application/x-binary' => 'bin',
'application/x-macbinary' => 'bin',
'image/bmp' => 'bmp',
'image/webp' => 'webp',
'image/x-webp' => 'x-webp',
'image/x-bmp' => 'bmp',
'image/x-bitmap' => 'bmp',
'image/x-xbitmap' => 'bmp',