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 5108fd56ae - Show all commits
+2
View File
@@ -92,6 +92,8 @@ pub mod init {
_ => {
// Development (default): Allow localhost origins
cors.allow_origin(vec![
"http://localhost:3000".parse().unwrap(),
"http://127.0.0.1:3000".parse().unwrap(),
"http://localhost:8001".parse().unwrap(),
"http://127.0.0.1:8001".parse().unwrap(),
"http://localhost:4200".parse().unwrap(),