Cleanup
Rust Build / Rustfmt (pull_request) Successful in 2m12s
Rust Build / Test Suite (pull_request) Successful in 2m25s
Rust Build / Check (pull_request) Successful in 2m37s
Rust Build / Clippy (pull_request) Successful in 1m23s
Rust Build / build (pull_request) Successful in 2m3s
Rust Build / Rustfmt (pull_request) Successful in 2m12s
Rust Build / Test Suite (pull_request) Successful in 2m25s
Rust Build / Check (pull_request) Successful in 2m37s
Rust Build / Clippy (pull_request) Successful in 1m23s
Rust Build / build (pull_request) Successful in 2m3s
This commit is contained in:
+6
-2
@@ -57,8 +57,12 @@ pub mod init {
|
||||
_ => {
|
||||
// Development (default): Allow localhost origins
|
||||
cors.allow_origin(vec![
|
||||
"http://localhost:9081".parse().unwrap(),
|
||||
"http://127.0.0.1:9081".parse().unwrap(),
|
||||
format!("http://localhost:{}", super::super::host::PORT)
|
||||
.parse()
|
||||
.unwrap(),
|
||||
format!("http://127.0.0.1:{}", super::super::host::PORT)
|
||||
.parse()
|
||||
.unwrap(),
|
||||
"http://localhost:4200".parse().unwrap(),
|
||||
"http://127.0.0.1:4200".parse().unwrap(),
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user