File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- export const contentTypes = {
2- css : 'text/css' ,
3- js : 'application/javascript' ,
4- mjs : 'application/javascript' ,
5- html : 'text/html' ,
6- json : 'application/json' ,
7- xml : 'application/xml' ,
8- zip : 'application/zip' ,
9- pdf : 'application/pdf' ,
10- doc : 'application/msword' ,
11- docx : 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ,
12- xls : 'application/vnd.ms-excel' ,
13- xlsx : 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ,
14- ppt : 'application/vnd.ms-powerpoint' ,
15- pptx : 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ,
16- odt : 'application/vnd.oasis.opendocument.text' ,
17- mpeg : 'audio/mpeg' ,
18- mpg : 'audio/mpg' ,
19- ogg : 'audio/ogg' ,
20- csv : 'text/csv' ,
21- text : 'text/plain' ,
22- txt : 'text/plain' ,
23- png : 'image/png' ,
24- jpeg : 'image/jpeg' ,
25- jpg : 'image/jpg' ,
26- gif : 'image/gif' ,
27- ico : 'image/x-icon' ,
28- webp : 'image/webp' ,
29- }
1+ import mimeTypes from '@magic/mime-types'
2+
3+ export const contentTypes = mimeTypes
You can’t perform that action at this time.
0 commit comments