Merge pull request #275053 from danth/nextcloud-mjs

nixos/nextcloud: set correct MIME type for .mjs files
This commit is contained in:
Maximilian Bosch 2023-12-18 11:07:22 +01:00 committed by GitHub
commit 1a9fe45b53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1135,6 +1135,9 @@ in {
try_files $uri /index.php$request_uri;
expires 6M;
access_log off;
location ~ \.mjs$ {
default_type text/javascript;
}
location ~ \.wasm$ {
default_type application/wasm;
}