Skip to content

Commit d265e96

Browse files
authored
Remove Flash
1 parent d2bd6cf commit d265e96

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

pub/media/.htaccess

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ AddType application/x-font-otf otf
6666
AddType application/x-font-woff woff
6767
AddType application/font-woff2 woff2
6868

69-
# Flash
70-
AddType application/x-shockwave-flash swf
71-
7269
# Archives and exports
7370
AddType application/zip gzip
7471
AddType application/x-gzip gz gzip
@@ -78,7 +75,7 @@ AddType application/xml xml
7875

7976
<IfModule mod_headers.c>
8077

81-
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|swf|eot|ttf|otf|woff|woff2)$>
78+
<FilesMatch .*\.(ico|jpg|jpeg|png|gif|svg|webp|avif|avifs?|js|css|eot|ttf|otf|woff|woff2)$>
8279
Header append Cache-Control public
8380
</FilesMatch>
8481

@@ -115,7 +112,7 @@ AddType application/xml xml
115112
ExpiresByType application/javascript "access plus 1 year"
116113

117114
# Favicon, images, flash
118-
<FilesMatch \.(ico|gif|png|jpg|jpeg|swf|svg|webp|avif|avifs?)$>
115+
<FilesMatch \.(ico|gif|png|jpg|jpeg|svg|webp|avif|avifs?)$>
119116
ExpiresDefault "access plus 1 year"
120117
</FilesMatch>
121118
ExpiresByType image/gif "access plus 1 year"

0 commit comments

Comments
 (0)