add new staging and testing domains to CORS

This commit is contained in:
Brandon Thomas
2024-06-04 19:13:44 -04:00
parent f3b3705478
commit e641702ac3
+3 -1
View File
@@ -28,7 +28,10 @@ import websockets
#
# NB(bt,2024-03-30): The *.netlify.app is dangerous.
CORS_WHITELIST_ORIGINS = [
"https://storyteller.ai",
"https://studio.storyteller.ai",
"https://studio-testing.studio.storyteller.ai",
"https://studio-staging.studio.storyteller.ai",
"https://storytellerstudio.netlify.app",
"https://branch-name--storytellerstudio.netlify.app",
"https://deploy-preview-123--storytellerstudio.netlify.app",
@@ -36,7 +39,6 @@ CORS_WHITELIST_ORIGINS = [
"https://branch-whatever--pipeline-gottagofast.netlify.app",
"https://fakeyou.com",
"https://*.fakeyou.com",
"https://storyteller.ai",
"https://*.storyteller.ai",
"https://*.netlify.app",
"http://*.fakeyou.com:7000",