fix: allow CORS for Contentstack and its subdomains
This commit is contained in:
@@ -1,3 +1,11 @@
|
|||||||
|
[[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"
|
||||||
|
|||||||
Reference in New Issue
Block a user