aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--p/.htaccess2
-rw-r--r--p/themes/.htaccess7
2 files changed, 4 insertions, 5 deletions
diff --git a/p/.htaccess b/p/.htaccess
index f2f2ad901..79e315c07 100644
--- a/p/.htaccess
+++ b/p/.htaccess
@@ -20,8 +20,6 @@ AddDefaultCharset UTF-8
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 1 month"
- ExpiresByType application/font-woff "access plus 1 month"
- ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/xhtml+xml "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 month"
diff --git a/p/themes/.htaccess b/p/themes/.htaccess
index 796c55ae0..0e78aab3a 100644
--- a/p/themes/.htaccess
+++ b/p/themes/.htaccess
@@ -1,6 +1,6 @@
<IfModule mod_mime.c>
- AddType application/font-woff .woff
- AddType application/font-woff2 .woff2
+ AddType font/woff .woff
+ AddType font/woff2 .woff2
AddCharset UTF-8 .css
AddCharset UTF-8 .svg
@@ -8,8 +8,9 @@
<IfModule mod_expires.c>
ExpiresActive on
- ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/json "access plus 1 month"
+ ExpiresByType font/woff "access plus 1 month"
+ ExpiresByType font/woff2 "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"