Skip to content

Commit 6ba7de8

Browse files
committed
Fix MIME type for JS modules
1 parent 2fbd0ab commit 6ba7de8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.htaccess

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ RewriteCond %{REQUEST_FILENAME} !-d
33
RewriteCond %{REQUEST_FILENAME} !-f
44
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
55

6+
# For JavaScript modules.
7+
<IfModule mod_mime.c>
8+
AddType text/javascript mjs
9+
</IfModule>
10+
611
<IfModule php_module>
712
php_value upload_max_filesize 25M
813
php_value post_max_size 25M

0 commit comments

Comments
 (0)