Allow bmp/tiff image to be uploaded

Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
This commit is contained in:
Yukai Huang 2020-12-23 15:45:49 +08:00
parent c1a22a5318
commit e19e6642fb
No known key found for this signature in database
GPG Key ID: D4D3B2F0E99D4914
1 changed files with 3 additions and 1 deletions

View File

@ -189,7 +189,9 @@ switch (config.imageUploadType) {
'image/png', 'image/png',
'image/jpg', 'image/jpg',
'image/gif', 'image/gif',
'image/svg+xml' 'image/svg+xml',
'image/bmp',
'image/tiff'
] ]
} }