fix: default bind to :: for IPv6 dual-stack
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user