From 6ec8193b835798bfb5c0611f45e4cb6518a1c99c Mon Sep 17 00:00:00 2001 From: Florian Schmitt Date: Wed, 17 Apr 2024 16:18:37 +0300 Subject: [PATCH] fix(nginx): add mjs mime type --- conf/nginx.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/conf/nginx.conf b/conf/nginx.conf index dcb3639..891041d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,3 +1,9 @@ +# Add .mjs as a file extension for javascript +include mime.types; +types { + text/javascript js mjs; +} + #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ {