[nginx] MIME: added mjs extension to text/javascript.

Maxim Dounin mdounin at mdounin.ru
Sat Aug 31 02:42:21 UTC 2024


details:   http://freenginx.org/hg/nginx/rev/eebab9268326
branches:  
changeset: 9329:eebab9268326
user:      Maxim Dounin <mdounin at mdounin.ru>
date:      Sat Aug 31 05:40:14 2024 +0300
description:
MIME: added mjs extension to text/javascript.

diffstat:

 conf/mime.types |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/conf/mime.types b/conf/mime.types
--- a/conf/mime.types
+++ b/conf/mime.types
@@ -2,7 +2,7 @@
 types {
     text/html                                        html htm shtml;
     text/css                                         css;
-    text/javascript                                  js;
+    text/javascript                                  js mjs;
     text/xml                                         xml;
     image/gif                                        gif;
     image/jpeg                                       jpeg jpg;


More information about the nginx-devel mailing list