Add module MIME types to backend to preserve extensions (still potentially iffy with MOD though)

This commit is contained in:
Essem 2023-07-04 14:47:12 -05:00
parent 3587144a89
commit dd8976d546
No known key found for this signature in database
GPG key ID: 7D497397CC3A2A8C

View file

@ -63,6 +63,15 @@ export const FILE_TYPE_BROWSERSAFE = [
"audio/x-flac",
"audio/flac",
"audio/vnd.wave",
"audio/mod",
"audio/x-mod",
"audio/s3m",
"audio/x-s3m",
"audio/xm",
"audio/x-xm",
"audio/it",
"audio/x-it",
];
/*
https://github.com/sindresorhus/file-type/blob/main/supported.js