mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 09:42:09 -04:00
Adjust .htaccess to serve .mjs files with javascript mime type
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
This commit is contained in:
parent
a3595f73ac
commit
d461da3b04
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Reference in a new issue