CORS support #183

Merged
kdeng00 merged 12 commits from cors into main 2025-10-10 16:33:16 -04:00
Showing only changes of commit 71991c376c - Show all commits
+2
View File
@@ -97,6 +97,8 @@ pub mod init {
cors.allow_origin(vec![ cors.allow_origin(vec![
"http://localhost:3000".parse().unwrap(), "http://localhost:3000".parse().unwrap(),
"http://127.0.0.1:3000".parse().unwrap(), "http://127.0.0.1:3000".parse().unwrap(),
"http://localhost:8000".parse().unwrap(),
"http://127.0.0.1:8000".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(),