Listen on all ports
This commit is contained in:
parent
dc0f2f5d0e
commit
19cb4626e4
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue