Skip to content

Commit

Permalink
fix: address binding
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanyLeonic committed Mar 3, 2024
1 parent a4d5383 commit afa9711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async fn main() {

let routes = ws_route.with(warp::cors().allow_any_origin());
println!("starting server"); //debug
warp::serve(routes).run(([127, 0, 0, 1], 8000)).await; //PORT 8000 localhost
warp::serve(routes).run(([0, 0, 0, 0], 8000)).await; //PORT 8000 localhost
}

fn with_clients(clients: Clients) -> impl Filter<Extract = (Clients,), Error = Infallible> + Clone {
Expand Down

0 comments on commit afa9711

Please sign in to comment.