mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update the application/javascript media type
Add jsm and mjs extensions. Closes #9483
This commit is contained in:
parent
6a238a7276
commit
3036d0ac9a
1 changed files with 1 additions and 1 deletions
|
@ -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"})
|
||||
|
|
Loading…
Reference in a new issue