fix: allow CORS for Contentstack and its subdomains
This commit is contained in:
10
netlify.toml
10
netlify.toml
@@ -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]]
|
||||
from = "/*"
|
||||
to = "/index.html"
|
||||
status = 200
|
||||
status = 200
|
||||
|
||||
Reference in New Issue
Block a user