From 3a7865546ce2bf6dad4b6eec5022086d50b71510 Mon Sep 17 00:00:00 2001 From: Greg Wilkins Date: Tue, 14 Feb 2023 18:07:48 +1100 Subject: [PATCH] Updated javascript mimetypes (#9347) + Updated js to text/javascript + added mjs extension Signed-off-by: gregw --- .../src/main/resources/org/eclipse/jetty/http/mime.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties b/jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties index fe22dea39f1..f689e3c239e 100644 --- a/jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties +++ b/jetty-http/src/main/resources/org/eclipse/jetty/http/mime.properties @@ -59,7 +59,7 @@ jpe=image/jpeg jp2=image/jpeg2000 jpeg=image/jpeg jpg=image/jpeg -js=application/javascript +js=text/javascript json=application/json jsp=text/html kar=audio/midi @@ -73,6 +73,7 @@ mesh=model/mesh mid=audio/midi midi=audio/midi mif=application/vnd.mif +mjs=text/javascript mol=chemical/x-mdl-molfile mov=video/quicktime movie=video/x-sgi-movie