fix: allow CORS for Contentstack and its subdomains

This commit is contained in:
Michael Zetterberg
2024-03-26 13:58:25 +01:00
parent d3fe77291d
commit b35a32ab82

View File

@@ -1,4 +1,12 @@
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "https://*.contentstack.com"
Access-Control-Allow-Methods = "GET, HEAD"
Access-Control-Allow-Headers = "*"
[[redirects]] [[redirects]]
from = "/*" from = "/*"
to = "/index.html" to = "/index.html"
status = 200 status = 200