mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 07:13:49 +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:
|
||||
transport_endpoint = TCP4ClientEndpoint
|
||||
default_port = 8080
|
||||
default_port = 8008
|
||||
else:
|
||||
transport_endpoint = SSL4ClientEndpoint
|
||||
endpoint_kw_args.update(sslContextFactory=ssl_context_factory)
|
||||
default_port = 443
|
||||
default_port = 8448
|
||||
|
||||
if port is None:
|
||||
return SRVClientEndpoint(
|
||||
|
|
Loading…
Reference in a new issue