Add CORS response headers (#4652)

This commit is contained in:
Steve Repsher 2023-09-10 15:37:59 -04:00 committed by GitHub
parent ec60affdd7
commit 3589ed59aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,16 +6,19 @@
for = "/_/_placeholder/*.png"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=3600, must-revalidate"
Access-Control-Allow-Origin = "*"
[[headers]]
for = "/*.png"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate"
Access-Control-Allow-Origin = "*"
[[headers]]
for = "/domains.json"
[headers.values]
Cache-Control = "public, max-age: 900, s-maxage=604800, must-revalidate"
Access-Control-Allow-Origin = "*"
[[redirects]]
from = "/"