diff --git a/src/main.rs b/src/main.rs index 42671c4..e2840ea 100644 --- a/src/main.rs +++ b/src/main.rs @@ -120,7 +120,7 @@ async fn main() { .route("/", get(get_index)) .route("/:id", get(get_item).post(post_item).put(post_item)) .with_state(state); - axum::Server::bind(&"0.0.0.0:3000".parse().unwrap()) + axum::Server::bind(&"[::]:3000".parse().unwrap()) .serve(app.into_make_service()) .await .unwrap();