diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nxt_http_static.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_http_static.c b/src/nxt_http_static.c index 67591595..d56ec587 100644 --- a/src/nxt_http_static.c +++ b/src/nxt_http_static.c @@ -957,6 +957,7 @@ nxt_http_static_mtypes_init(nxt_mp_t *mp, nxt_lvlhsh_t *hash) { nxt_string("text/x-rst"), ".rst" }, { nxt_string("application/javascript"), ".js" }, + { nxt_string("application/javascript"), ".mjs" }, { nxt_string("application/json"), ".json" }, { nxt_string("application/xml"), ".xml" }, { nxt_string("application/rss+xml"), ".rss" }, |
