diff --git a/Cargo.toml b/Cargo.toml index db1aa65..ae7bc67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] +workspace.resolver = "2" members = ["crates/*"] default-members = ["crates/server"] diff --git a/crates/server/src/main.rs b/crates/server/src/main.rs index e6a7a9d..6b4b39a 100644 --- a/crates/server/src/main.rs +++ b/crates/server/src/main.rs @@ -9,7 +9,7 @@ async fn main() { .route("/", get(root)); // run our app with hyper, listening globally on port 8200 - let listener = tokio::net::TcpListener::bind("127.0.0.1:8200").await.unwrap(); + let listener = tokio::net::TcpListener::bind("[::]:8200").await.unwrap(); axum::serve(listener, app).await.unwrap(); }