Skip to content

Commit

Permalink
Update the application/javascript media type
Browse files Browse the repository at this point in the history
Add jsm and mjs extensions.
Closes #9483
  • Loading branch information
jmooring authored and bep committed Feb 10, 2022
1 parent 6a238a7 commit 3036d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/mediaType.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"})
Expand Down

0 comments on commit 3036d0a

Please # to comment.