Skip to content

Commit

Permalink
nixos/nextcloud: set correct MIME type for .mjs files
Browse files Browse the repository at this point in the history
  • Loading branch information
danth committed Dec 17, 2023
1 parent 98757ab commit 292c74c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nixos/modules/services/web-apps/nextcloud.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 292c74c

Please sign in to comment.