mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-18 11:09:22 +00:00
src/config.rs: bind to legacy and nonlegacy ip addresses by default
see https://github.com/tokio-rs/axum/discussions/834#discussioncomment-2302918
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user