diff options
Diffstat (limited to 'media')
-rw-r--r-- | media/mediaType.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/mediaType.go b/media/mediaType.go index 47a74ec56..4fceac222 100644 --- a/media/mediaType.go +++ b/media/mediaType.go @@ -229,7 +229,7 @@ var ( SASSType = newMediaType("text", "x-sass", []string{"sass"}) CSVType = newMediaType("text", "csv", []string{"csv"}) HTMLType = newMediaType("text", "html", []string{"html"}) - JavascriptType = newMediaType("application", "javascript", []string{"js"}) + JavascriptType = newMediaType("application", "javascript", []string{"js", "jsm", "mjs"}) TypeScriptType = newMediaType("application", "typescript", []string{"ts"}) TSXType = newMediaType("text", "tsx", []string{"tsx"}) JSXType = newMediaType("text", "jsx", []string{"jsx"}) |