Browse Source

Adjust `.htaccess` to serve `.mjs` files with javascript mime type

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
pull/36057/head
Ferdinand Thiessen 3 years ago
parent
commit
d461da3b04
  1. 2
      .htaccess

2
.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
</IfModule>
<IfModule mod_dir.c>

Loading…
Cancel
Save