Skip to content

Commit 3530c6c

Browse files
authored
SVGZ Support
1 parent b877a4a commit 3530c6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pub/static/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ AddType image/avif avif
5454
AddType image/avif-sequence avifs
5555

5656
# SVG
57-
AddType image/svg+xml svg
57+
AddType image/svg+xml svg svgz
5858

5959
# Fonts
6060
AddType application/vnd.ms-fontobject eot
@@ -122,7 +122,7 @@ AddType application/xml xml
122122
ExpiresByType application/json "access plus 1 year"
123123

124124
# Favicon, images, flash
125-
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|webp|avif|avifs?)$>
125+
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs?)$>
126126
ExpiresDefault "access plus 1 year"
127127
</FilesMatch>
128128
ExpiresByType image/gif "access plus 1 year"

0 commit comments

Comments
 (0)