mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 21:13:51 +01:00
Update default endpoint port to match the default ports in the config
This commit is contained in:
parent
464e1fcfa5
commit
235f686da9
1 changed files with 2 additions and 2 deletions
|
@ -50,11 +50,11 @@ def matrix_endpoint(reactor, destination, ssl_context_factory=None,
|
||||||
|
|
||||||
if ssl_context_factory is None:
|
if ssl_context_factory is None:
|
||||||
transport_endpoint = TCP4ClientEndpoint
|
transport_endpoint = TCP4ClientEndpoint
|
||||||
default_port = 8080
|
default_port = 8008
|
||||||
else:
|
else:
|
||||||
transport_endpoint = SSL4ClientEndpoint
|
transport_endpoint = SSL4ClientEndpoint
|
||||||
endpoint_kw_args.update(sslContextFactory=ssl_context_factory)
|
endpoint_kw_args.update(sslContextFactory=ssl_context_factory)
|
||||||
default_port = 443
|
default_port = 8448
|
||||||
|
|
||||||
if port is None:
|
if port is None:
|
||||||
return SRVClientEndpoint(
|
return SRVClientEndpoint(
|
||||||
|
|
Loading…
Reference in a new issue