diff --git a/.htaccess b/.htaccess index ff3ce1e..e45f089 100644 --- a/.htaccess +++ b/.htaccess @@ -1,15 +1,3 @@ -# Ensure .mjs files are served with the correct MIME type - - AddType application/javascript .mjs - - -# Set Content-Type header specifically for .mjs files - - - Header set Content-Type "application/javascript" - - - RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f @@ -52,4 +40,16 @@ Header set Cache-Control "max-age=3600, s-max-age=3600, public, no-cache" # Compress HTML, CSS, JavaScript AddOutputFilterByType DEFLATE text/html text/css application/x-javascript application/javascript + + +# Ensure .mjs files are served with the correct MIME type + + AddType application/javascript .mjs + + +# Set Content-Type header specifically for .mjs files + + + Header set Content-Type "application/javascript" + \ No newline at end of file