Allow Windows' version of the MIME types for raw photos. (#2945)

* Allow Windows' version of the MIME types for raw photos.

* Fix prettier warning.

---------

Co-authored-by: Elliot Lee <sopwith@gmail.com>
This commit is contained in:
Elliot Lee
2023-06-25 14:10:39 -04:00
committed by GitHub
parent a2f5674bbb
commit 9dd1d81536
3 changed files with 84 additions and 0 deletions

View File

@@ -67,6 +67,33 @@ const validMimeTypes = [
'image/x-sony-arw',
'image/x-sony-sr2',
'image/x-sony-srf',
'image/dng',
'image/ari',
'image/cr2',
'image/cr3',
'image/crw',
'image/erf',
'image/raf',
'image/3fr',
'image/fff',
'image/dcr',
'image/k25',
'image/kdc',
'image/rwl',
'image/mrw',
'image/nef',
'image/orf',
'image/ori',
'image/raw',
'image/pef',
'image/cin',
'image/cap',
'image/iiq',
'image/srw',
'image/x3f',
'image/arw',
'image/sr2',
'image/srf',
'video/3gpp',
'video/mp2t',
'video/mp4',