Add storyteller.stream to CORS

This commit is contained in:
Brandon Thomas committed 2022-04-04 19:16:42 -04:00
1 parent 7cc3f12416
commit dcac35f6be
1 file changed
+10 -1
+10 -1
View File
@@ -38,7 +38,7 @@ pub fn build_common_cors_config() -> Cors {
.allowed_origin("http://fakeyou.com")
.allowed_origin("https://api.fakeyou.com")
.allowed_origin("https://fakeyou.com")
// Storyteller
// Storyteller.io
.allowed_origin("http://api.storyteller.io")
.allowed_origin("http://create.storyteller.io")
.allowed_origin("http://obs.storyteller.io")
@@ -49,6 +49,15 @@ pub fn build_common_cors_config() -> Cors {
.allowed_origin("https://obs.storyteller.io")
.allowed_origin("https://storyteller.io")
.allowed_origin("https://ws.storyteller.io")
// Storyteller.stream
.allowed_origin("http://api.storyteller.stream")
.allowed_origin("http://obs.storyteller.stream")
.allowed_origin("http://storyteller.stream")
.allowed_origin("http://ws.storyteller.stream")
.allowed_origin("https://api.storyteller.stream")
.allowed_origin("https://obs.storyteller.stream")
.allowed_origin("https://storyteller.stream")
.allowed_origin("https://ws.storyteller.stream")
// Trumped (legacy)
.allowed_origin("http://trumped.com")
.allowed_origin("https://trumped.com")