change address

This commit is contained in:
Mitchell Marino 2023-04-12 23:53:27 -05:00
parent 711c5a88fb
commit 018e3048ef

View File

@ -51,7 +51,7 @@ async fn main() {
// run our app with hyper
// `axum::Server` is a re-export of `hyper::Server`
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
tracing::info!("listening on {}", addr);
axum::Server::bind(&addr)
.serve(app.into_make_service())