From: Ferdinand Thiessen Date: Thu, 16 Mar 2023 14:57:51 +0000 (+0100) Subject: Adjust `.htaccess` to serve `.mjs` files with javascript mime type X-Git-Tag: v27.0.0beta1~301^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F36057%2Fhead;p=nextcloud-server.git Adjust `.htaccess` to serve `.mjs` files with javascript mime type Signed-off-by: Ferdinand Thiessen --- diff --git a/.htaccess b/.htaccess index dd0fce231e8..458154b545d 100644 --- a/.htaccess +++ b/.htaccess @@ -78,6 +78,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