fix: default bind to :: for IPv6 dual-stack

This commit is contained in:
2026-07-22 21:14:41 +02:00
parent 44b879371e
commit 51d744e0ea
3 changed files with 7 additions and 4 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ class TestDefaults:
config = Config.load(path=MISSING)
assert config.port == 9090
assert config.language == "en"
assert config.host == "0.0.0.0"
assert config.host == "::"
def test_default_content_dir(self) -> None:
config = Config.load(path=MISSING)
@@ -38,7 +38,7 @@ class TestOverrides:
def test_does_not_mutate_defaults(self) -> None:
Config.load(path=MISSING, overrides={"host": "10.0.0.1"})
fresh = Config.load(path=MISSING)
assert fresh.host == "0.0.0.0"
assert fresh.host == "::"
def test_does_not_mutate_default_inner_hashes(self) -> None:
config = Config.load(path=MISSING)