Fix file type mappings for proper MIME type handling
This commit is contained in:
parent
0aa1bc8bf9
commit
c6b30f1a03
1 changed files with 3 additions and 5 deletions
|
|
@ -31,10 +31,6 @@ export const supportedFileTypes = {
|
|||
'text/plain': [
|
||||
'.txt',
|
||||
'.md',
|
||||
'.pdf',
|
||||
'.docx',
|
||||
'.pptx',
|
||||
'.xlsx',
|
||||
'.rtf', //# Rich Text Format
|
||||
'.odt', // # OpenDocument Text
|
||||
'.tex', // # LaTeX
|
||||
|
|
@ -69,8 +65,10 @@ export const supportedFileTypes = {
|
|||
],
|
||||
'application/pdf': ['.pdf'],
|
||||
'application/msword': ['.doc'],
|
||||
'application/vnd.ms-excel': ['.xls'],
|
||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['.docx'],
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['.pptx']
|
||||
'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['.pptx'],
|
||||
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['.xlsx']
|
||||
}
|
||||
|
||||
export const SiteInfo = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue