Skip to content

Commit e19e664

Browse files
committed
Allow bmp/tiff image to be uploaded
Signed-off-by: Yukai Huang <yukaihuangtw@gmail.com>
1 parent c1a22a5 commit e19e664

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/config/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,9 @@ switch (config.imageUploadType) {
189189
'image/png',
190190
'image/jpg',
191191
'image/gif',
192-
'image/svg+xml'
192+
'image/svg+xml',
193+
'image/bmp',
194+
'image/tiff'
193195
]
194196
}
195197

0 commit comments

Comments
 (0)