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"})