Skip to content

Commit d2bd6cf

Browse files
authored
Remove Flash
1 parent 9993844 commit d2bd6cf

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pub/static/.htaccess

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ AddType application/font-woff2 woff2
6565
AddType font/truetype
6666
AddType font/opentype
6767

68-
# Flash
69-
AddType application/x-shockwave-flash swf
70-
7168
# Manifest
7269
AddType application/manifest+json webmanifest
7370

@@ -80,7 +77,7 @@ AddType application/xml xml
8077

8178
<IfModule mod_headers.c>
8279

83-
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|swf|eot|ttf|otf|woff|woff2|html|json)$>
80+
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|eot|ttf|otf|woff|woff2|html|json)$>
8481
Header append Cache-Control public
8582
</FilesMatch>
8683

@@ -125,7 +122,7 @@ AddType application/xml xml
125122
ExpiresByType application/json "access plus 1 year"
126123

127124
# Favicon, images, flash
128-
<FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg|webp|avif|avifs?)$>
125+
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|webp|avif|avifs?)$>
129126
ExpiresDefault "access plus 1 year"
130127
</FilesMatch>
131128
ExpiresByType image/gif "access plus 1 year"

0 commit comments

Comments
 (0)