Merge pull request #275053 from danth/nextcloud-mjs
nixos/nextcloud: set correct MIME type for .mjs files
This commit is contained in:
commit
1a9fe45b53
1 changed files with 3 additions and 0 deletions
|
@ -1135,6 +1135,9 @@ in {
|
||||||
try_files $uri /index.php$request_uri;
|
try_files $uri /index.php$request_uri;
|
||||||
expires 6M;
|
expires 6M;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
location ~ \.mjs$ {
|
||||||
|
default_type text/javascript;
|
||||||
|
}
|
||||||
location ~ \.wasm$ {
|
location ~ \.wasm$ {
|
||||||
default_type application/wasm;
|
default_type application/wasm;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue