aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2023-03-22 09:17:28 +0100
committerGitHub <noreply@github.com>2023-03-22 09:17:28 +0100
commit8b4d49cf506d202c4b7ab58f453cdc84a30bca38 (patch)
treecfaaa6ee6ea356014349417788f0125dae3a4304 /.htaccess
parent9c7d7139b6d7487275c5ad18645a0770c23761d9 (diff)
parentd461da3b04dfb2d6b7e6bad8ebf9b592d3008f20 (diff)
downloadnextcloud-server-8b4d49cf506d202c4b7ab58f453cdc84a30bca38.tar.gz
nextcloud-server-8b4d49cf506d202c4b7ab58f453cdc84a30bca38.zip
Merge pull request #36057 from nextcloud/feat/esm-js-scripts
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess2
1 files changed, 2 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 956e29ea7c4..8638bc6cd39 100644
--- a/.htaccess
+++ b/.htaccess
@@ -79,6 +79,8 @@
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
+ # Serve ESM javascript files (.mjs) with correct mime type
+ AddType text/javascript js mjs
</IfModule>
<IfModule mod_dir.c>