CORS support #183
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user