minetype: Add sag support
This commit is contained in:
parent
ea8acbef1a
commit
969ffa59f3
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ module.exports = function getMimetype(type, includeCharset) {
|
|||
return 'application/javascript' + charset;
|
||||
} else if (type.indexOf('png') >= 0) {
|
||||
return 'image/png';
|
||||
} else if (type.indexOf('svg') >= 0) {
|
||||
return 'image/svg+xml';
|
||||
} else if (type.indexOf('jpg') >= 0) {
|
||||
return 'image/jpeg';
|
||||
} else if (type.indexOf('jpeg') >= 0) {
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"content-disposition": "jharrilim/content-disposition#572383f",
|
||||
"debug-ms": "~4.1.2",
|
||||
"debug": "~4.1.2",
|
||||
"fresh": "~0.5.2",
|
||||
"http-errors-lite": "^2.0.2"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue