mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-11 00:14:50 +03:00
update mime types
This commit is contained in:
parent
c1385894cc
commit
8fe5cd3c95
3 changed files with 7 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue