Skip to content

Commit cca74fe

Browse files
committed
Add RAF and WEBP image formats to allowed list for uploading.
1 parent 2de340e commit cca74fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/lib/file.utils.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,12 @@ export const imageMIMETypes = {
8686
'NEF': 'image/x-nikon-nef',
8787
'ORF': 'image/x-olympus-orf',
8888
'PEF': 'image/x-pentax-pef',
89-
'RAF': 'image/x-fuji-raf',
89+
'RAF': 'image/raf',
90+
'RAF2': 'image/x-fuji-raf',
9091
'RAW': 'image/x-panasonic-raw',
9192
'SR2': 'image/x-sony-sr2',
9293
'SRF': 'image/x-sony-srf',
94+
'WEBP': 'image/webp',
9395
'X3F': 'image/x-sigma-x3f',
9496
'stream': 'application/octet-stream'
9597
};

0 commit comments

Comments
 (0)