Skip to content

Commit

Permalink
Add svgz support
Browse files Browse the repository at this point in the history
  • Loading branch information
in-session authored Mar 9, 2021
1 parent 3530c6c commit ea1f90a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pub/media/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ AddType image/avif avif
AddType image/avif-sequence avifs

# SVG
AddType image/svg+xml svg
AddType image/svg+xml svg svgz

# Fonts
AddType application/vnd.ms-fontobject eot
Expand Down Expand Up @@ -112,7 +112,7 @@ AddType application/xml xml
ExpiresByType application/javascript "access plus 1 year"

# Favicon, images
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|webp|avif|avifs?)$>
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|svgz|webp|avif|avifs?)$>
ExpiresDefault "access plus 1 year"
</FilesMatch>
ExpiresByType image/gif "access plus 1 year"
Expand Down

0 comments on commit ea1f90a

Please sign in to comment.