From d461da3b04dfb2d6b7e6bad8ebf9b592d3008f20 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 16 Mar 2023 15:57:51 +0100 Subject: [PATCH] Adjust `.htaccess` to serve `.mjs` files with javascript mime type Signed-off-by: Ferdinand Thiessen --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) 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