Skip to content

Commit ea1f90a

Browse files
authored
Add svgz support
1 parent 3530c6c commit ea1f90a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pub/media/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ AddType image/avif avif
5757
AddType image/avif-sequence avifs
5858

5959
# SVG
60-
AddType image/svg+xml svg
60+
AddType image/svg+xml svg svgz
6161

6262
# Fonts
6363
AddType application/vnd.ms-fontobject eot
@@ -112,7 +112,7 @@ AddType application/xml xml
112112
ExpiresByType application/javascript "access plus 1 year"
113113

114114
# Favicon, images
115-
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|webp|avif|avifs?)$>
115+
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs?)$>
116116
ExpiresDefault "access plus 1 year"
117117
</FilesMatch>
118118
ExpiresByType image/gif "access plus 1 year"

0 commit comments

Comments
 (0)