mirror of
https://github.com/matrix-org/pantalaimon.git
synced 2024-10-01 03:35:38 -04:00
config: Set some more default values for the server config.
This commit is contained in:
parent
c8d81b9cf4
commit
2c831de532
@ -123,8 +123,11 @@ class ServerConfig:
|
||||
|
||||
name = attr.ib(type=str)
|
||||
homeserver = attr.ib(type=ParseResult)
|
||||
listen_address = attr.ib(type=Union[IPv4Address, IPv6Address])
|
||||
listen_port = attr.ib(type=int)
|
||||
listen_address = attr.ib(
|
||||
type=Union[IPv4Address, IPv6Address],
|
||||
default=ip_address("127.0.0.1")
|
||||
)
|
||||
listen_port = attr.ib(type=int, default=8009)
|
||||
proxy = attr.ib(type=str, default="")
|
||||
ssl = attr.ib(type=bool, default=True)
|
||||
ignore_verification = attr.ib(type=bool, default=False)
|
||||
|
Loading…
Reference in New Issue
Block a user