Added other urls

This commit is contained in:
kdeng00
2025-10-09 20:20:23 -04:00
parent 7320f8f2d7
commit 5108fd56ae
+2
View File
@@ -92,6 +92,8 @@ pub mod init {
_ => { _ => {
// Development (default): Allow localhost origins // Development (default): Allow localhost origins
cors.allow_origin(vec![ cors.allow_origin(vec![
"http://localhost:3000".parse().unwrap(),
"http://127.0.0.1:3000".parse().unwrap(),
"http://localhost:8001".parse().unwrap(), "http://localhost:8001".parse().unwrap(),
"http://127.0.0.1:8001".parse().unwrap(), "http://127.0.0.1:8001".parse().unwrap(),
"http://localhost:4200".parse().unwrap(), "http://localhost:4200".parse().unwrap(),