From b8d2ac06549d5245da9ca8b91d664d7a9b109c2e Mon Sep 17 00:00:00 2001 From: quantenzitrone Date: Mon, 15 Dec 2025 07:14:00 +0100 Subject: [PATCH] src/config.rs: bind to legacy and nonlegacy ip addresses by default see https://github.com/tokio-rs/axum/discussions/834#discussioncomment-2302918 --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index f0bbbb7..a3d4a90 100644 --- a/src/config.rs +++ b/src/config.rs @@ -14,7 +14,7 @@ pub struct HttpConfig { impl Default for HttpConfig { fn default() -> Self { Self { - host: "0.0.0.0".to_owned(), + host: "[::]".to_owned(), port: 4000, session_cookie_samesite_strict: false, payload_limit_mb: 4,