-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.js
30 lines (30 loc) · 820 Bytes
/
types.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module.exports = new Map([
['text', 'text/plain'],
['xml', 'text/xml'],
['math', 'text/xml'],
['xhtml', 'text/xml'],
['htm', 'text/html'],
['html', 'text/html'],
['css', 'text/css'],
['csv', 'text/csv'],
['js', 'text/javascript'],
['json', 'application/json'],
['pdf', 'application/pdf'],
['zip', 'application/zip'],
['gzip', 'application/gzip'],
['ogg', 'application/ogg'],
['svg', 'image/xml+svg'],
['ico', 'image/x-icon'],
['gif', 'image/x-gif'],
['jpe', 'image/jpe'],
['jpeg', 'image/jpeg'],
['jpg', 'image/jpg'],
['bmp', 'image/x-bmp'],
['png', 'image/x-png'],
['tif', 'image/x-tiff'],
['tiff', 'image/x-tiff'],
['mp3', 'audio/mp3'],
['wav', 'audio/wav'],
['mp4', 'video/mp4'],
['avi', 'video/avi']
]);