Prefer application/javascript

This commit is contained in:
TheSpad 2023-12-22 17:08:14 +00:00
parent 794f71483a
commit 37eb7522e1
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -143,11 +143,11 @@ server {
default_type application/wasm;
}
location ~ \.js$ {
default_type text/javascript;
default_type application/javascript;
}
location ~ \.mjs$ {
default_type text/javascript;
default_type application/javascript;
}
}