mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 08:57:54 +00:00
add mumble.stream to CORS allow
This commit is contained in:
1 parent
64419fa64e
commit
243d16b7f1
1 file changed
+4
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user