Browse Source

Add MIME type for .mjs extension (#1252)

bel2125 1 year ago
parent
commit
bad8179530
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/civetweb.c

+ 1 - 0
src/civetweb.c

@@ -8402,6 +8402,7 @@ static const struct {
     {".iso", 4, "application/octet-stream"},
     {".js", 3, "application/javascript"},
     {".json", 5, "application/json"},
+    {".mjs", 4, "application/javascript"},
     {".msi", 4, "application/octet-stream"},
     {".pdf", 4, "application/pdf"},
     {".ps", 3, "application/postscript"},