update mime types

This commit is contained in:
the-djmaze 2024-03-06 01:22:49 +01:00
parent c1385894cc
commit 8fe5cd3c95
3 changed files with 7 additions and 6 deletions

View file

@ -138,7 +138,7 @@ export const FileInfo = {
getContentType: fileName => {
fileName = lowerCase(fileName);
if ('winmail.dat' === fileName) {
return app + 'ms-tnef';
return app + 'vnd.ms-tnef';
}
let ext = fileName.split('.').pop();
if (/^(txt|text|def|list|in|ini|log|sql|cfg|conf)$/.test(ext))