diff --git a/src/mime/type.go b/src/mime/type.go index 64e26ffb7c..3a8fe4447f 100644 --- a/src/mime/type.go +++ b/src/mime/type.go @@ -68,6 +68,7 @@ var builtinTypesLower = map[string]string{ ".png": "image/png", ".svg": "image/svg+xml", ".xml": "text/xml; charset=utf-8", + ".mjs": "text/javascript", } var once sync.Once // guards initMime