File tree 3 files changed +3
-2
lines changed
3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 9
9
10
10
<IfModule mod_setenvif.c>
11
11
<IfModule mod_headers.c>
12
- <FilesMatch "\.(bmp|cur|gif|ico|jpe?g|png|svgz?|webp)$">
12
+ <FilesMatch "\.(bmp|cur|gif|ico|jpe?g|a? png|svgz?|webp)$">
13
13
SetEnvIf Origin ":" IS_CORS
14
14
Header set Access-Control-Allow-Origin "*" env=IS_CORS
15
15
</FilesMatch>
Original file line number Diff line number Diff line change 69
69
# Media files
70
70
71
71
ExpiresByType audio/ogg "access plus 1 month"
72
+ ExpiresByType image/apng "access plus 1 month"
72
73
ExpiresByType image/bmp "access plus 1 month"
73
74
ExpiresByType image/gif "access plus 1 month"
74
75
ExpiresByType image/jpeg "access plus 1 month"
Original file line number Diff line number Diff line change 13
13
<IfModule mod_rewrite.c>
14
14
RewriteEngine On
15
15
RewriteCond %{REQUEST_FILENAME} !-f
16
- RewriteRule ^(.+)\.(\w+)\.(bmp|css|cur|gif|ico|jpe?g|m?js|png|svgz?|webp|webmanifest)$ $1.$3 [L]
16
+ RewriteRule ^(.+)\.(\w+)\.(bmp|css|cur|gif|ico|jpe?g|m?js|a? png|svgz?|webp|webmanifest)$ $1.$3 [L]
17
17
</IfModule>
You can’t perform that action at this time.
0 commit comments