From 243d16b7f16dd8675baebd178a7fda372dfdf75e Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Sun, 31 May 2020 01:40:11 -0400 Subject: [PATCH] add mumble.stream to CORS allow --- tts_service/src/main.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tts_service/src/main.rs b/tts_service/src/main.rs index de40e0f1b9..6d7793af2f 100644 --- a/tts_service/src/main.rs +++ b/tts_service/src/main.rs @@ -160,10 +160,12 @@ async fn run_server(app_state: AppState, server_args: ServerArgs) -> std::io::Re .wrap(Cors::new() .allowed_origin("http://localhost:12345") .allowed_origin("http://localhost:8080") - .allowed_origin("http://trumped.com") - .allowed_origin("https://trumped.com") .allowed_origin("http://jungle.horse") .allowed_origin("https://jungle.horse") + .allowed_origin("http://mumble.stream") + .allowed_origin("https://mumble.stream") + .allowed_origin("http://trumped.com") + .allowed_origin("https://trumped.com") .allowed_methods(vec!["GET", "POST"]) .allowed_headers(vec![http::header::ACCEPT]) .allowed_header(http::header::CONTENT_TYPE)