diff --git a/web-cors/backend/src/main.rs b/web-cors/backend/src/main.rs index 5d951e03..c009db8e 100644 --- a/web-cors/backend/src/main.rs +++ b/web-cors/backend/src/main.rs @@ -15,7 +15,7 @@ fn main() -> std::io::Result<()> { App::new() .wrap( Cors::new() - .allowed_origin("http://localhost:1234") + .allowed_origin("http://localhost:8080") .allowed_methods(vec!["GET", "POST"]) .allowed_headers(vec![header::AUTHORIZATION, header::ACCEPT]) .allowed_header(header::CONTENT_TYPE)