From 50f293c346c95f3f4f70d9d01ee1c28d29649694 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Thu, 24 Nov 2022 13:58:54 +0100 Subject: Update mime type font/woff (#4894) * Update mime type font/woff https://www.rfc-editor.org/rfc/rfc8081 `application/font-woff*` is deprecated for `font/woff*` * Order --- p/.htaccess | 2 -- p/themes/.htaccess | 7 ++++--- 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 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 @@ - 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 @@ 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" -- cgit v1.2.3