From a0b38f94518ee98712cbf775e45e7c8c2902194c Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sat, 9 Mar 2024 03:34:48 -0500 Subject: [PATCH] toml cors attempt 2 --- netlify.toml | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/netlify.toml b/netlify.toml index 633f4e9..eaeac9f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,30 +1,6 @@ -# https://answers.netlify.com/t/access-control-allow-origin-to-multiple-domains/23969 [[headers]] for = "/*" [headers.values] - Access-Control-Allow-Origin = ''' - http://dev.fakeyou.com, - http://dev.fakeyou.com:7000, - http://dev.fakeyou.com:7001, - http://dev.fakeyou.com:7002, - http://dev.storyteller.ai, - http://dev.storyteller.ai:7000, - http://dev.storyteller.ai:7001, - http://dev.storyteller.ai:7002, - http://devproxy.fakeyou.com:7000, - http://devproxy.fakeyou.com:7001, - http://devproxy.fakeyou.com:7002, - http://devproxy.storyteller.ai, - http://devproxy.storyteller.ai:7000, - http://devproxy.storyteller.ai:7001, - http://devproxy.storyteller.ai:7002, - https://api.fakeyou.com, - https://engine.fakeyou.com, - https://fakeyou.com, - https://feature-mvp--fakeyou.netlify.app, - https://feature-mvp--storyteller-ai.netlify.app, - https://staging.fakeyou.com, - https://staging.storyteller.ai, - https://storyteller.ai, - https://example.com''' + # NB: This is potentially dangerous, but I don't think we have much other choice: + Access-Control-Allow-Origin = "*"