fix: change CORS settings to apply only to RTE and specific domain
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
[[headers]]
|
[[headers]]
|
||||||
for = "/*"
|
for = "/build/rte/csiv.js"
|
||||||
|
|
||||||
[headers.values]
|
[headers.values]
|
||||||
Access-Control-Allow-Origin = "https://*.contentstack.com"
|
Access-Control-Allow-Origin = "https://eu-rte-extension.contentstack.com"
|
||||||
Access-Control-Allow-Methods = "GET, HEAD"
|
Access-Control-Allow-Methods = "GET, HEAD"
|
||||||
Access-Control-Allow-Headers = "*"
|
Access-Control-Allow-Headers = "*"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user