Skip to content

Commit

Permalink
Fix MIME types for Javascript
Browse files Browse the repository at this point in the history
Use official MIME type 'text/javascript' as per RFC9239
Add .mjs extension for Javascript modules
  • Loading branch information
hanshuebner authored and stassats committed Oct 17, 2024
1 parent 754f7e3 commit 13876b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mime-types.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@
("application/x-iphone" "iii")
("application/x-iso9660-image" "iso")
("application/x-java-jnlp-file" "jnlp")
("application/x-javascript" "js")
("application/x-jmol" "jmz")
("application/x-kchart" "chrt")
("application/x-killustrator" "kil")
Expand Down Expand Up @@ -313,7 +312,7 @@
("text/x-dsrc" "d")
("text/x-haskell" "hs")
("text/x-java" "java")
("text/javascript" "js")
("text/javascript" "js" "mjs")
("text/x-literate-haskell" "lhs")
("text/x-moc" "moc")
("text/x-pascal" "pp" "as")
Expand Down

0 comments on commit 13876b5

Please sign in to comment.