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

This commit is contained in:
2026-06-13 16:12:24 -04:00
parent 773049835c
commit d399e4ba29
+6 -2
View File
@@ -57,8 +57,12 @@ pub mod init {
_ => { _ => {
// Development (default): Allow localhost origins // Development (default): Allow localhost origins
cors.allow_origin(vec![ cors.allow_origin(vec![
"http://localhost:9081".parse().unwrap(), format!("http://localhost:{}", super::super::host::PORT)
"http://127.0.0.1:9081".parse().unwrap(), .parse()
.unwrap(),
format!("http://127.0.0.1:{}", super::super::host::PORT)
.parse()
.unwrap(),
"http://localhost:4200".parse().unwrap(), "http://localhost:4200".parse().unwrap(),
"http://127.0.0.1:4200".parse().unwrap(), "http://127.0.0.1:4200".parse().unwrap(),
]) ])