change mime map for .js/.mjs to text/javascript align with RFC9239
@@ -46,7 +46,7 @@ MIMEMAP("jnlp", "application/x-java-jnlp-file")
MIMEMAP("jp2", "image/jp2")
MIMEMAP("jpeg", "image/jpeg")
MIMEMAP("jpg", "image/jpeg")
-MIMEMAP("js", "application/javascript")
+MIMEMAP("js", "text/javascript")
MIMEMAP("json", "application/json")
MIMEMAP("jsonld", "application/ld+json")
MIMEMAP("jxl", "image/jxl")
@@ -60,7 +60,7 @@ MIMEMAP("m4v", "video/x-m4v")
MIMEMAP("md", "text/markdown")
MIMEMAP("mid", "audio/midi")
MIMEMAP("midi", "audio/midi")
-MIMEMAP("mjs", "application/javascript")
+MIMEMAP("mjs", "text/javascript")
MIMEMAP("mml", "text/mathml")
MIMEMAP("mng", "video/x-mng")
MIMEMAP("mov", "video/quicktime")
