mirror of
https://github.com/sudoxnym/brands.git
synced 2026-05-17 19:18:50 +00:00
Add CORS response headers (#4652)
This commit is contained in:
parent
ec60affdd7
commit
3589ed59aa
1 changed files with 3 additions and 0 deletions
|
|
@ -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 = "/"
|
||||
|
|
|
|||
Loading…
Reference in a new issue