Listen on all ports

This commit is contained in:
Thomas Avé 2024-11-06 00:11:50 +01:00
parent dc0f2f5d0e
commit 19cb4626e4
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ async fn main() {
.route("/api/tracking", delete(stop_tracking))
.with_state(pool);
let addr = SocketAddr::from(([127, 0, 0, 1], 3000));
let addr = SocketAddr::from(([0, 0, 0, 0], 3000));
tracing::debug!("listening on {addr}");
let listener = tokio::net::TcpListener::bind(addr).await.unwrap();
axum::serve(listener, app).await.unwrap();