Update .htaccess

This commit is contained in:
Kyle
2020-12-27 10:38:35 -08:00
committed by GitHub
parent 773e6ecddb
commit 689324543a

View File

@@ -1,8 +1,9 @@
ErrorDocument 404 /404.php
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
#YEAR
<filesMatch "\.(png|svg|ttf|ico)$">
<filesMatch "\.(png|svg|ttf|ico)$">
Header set Cache-Control "max-age=31536000, public"
</filesMatch>
#MONTH
@@ -21,4 +22,4 @@ ErrorDocument 404 /404.php
#<files creator.js>
# Header set Cache-Control "max-age=3600, public"
#</files>
</IfModule>
</IfModule>