1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yeswiki_ynh.git synced 2024-09-03 18:05:56 +02:00

fix(nginx): only mjs needs mimetype

This commit is contained in:
Florian Schmitt 2024-04-17 16:32:13 +03:00
parent 6ec8193b83
commit a63a3f70cf

View file

@ -1,7 +1,7 @@
# Add .mjs as a file extension for javascript # Add .mjs as a file extension for javascript
include mime.types; include mime.types;
types { types {
text/javascript js mjs; text/javascript mjs;
} }
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent;