2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-28 21:07:59 +00:00

Switch back to port 443

This commit is contained in:
Dan 2018-01-29 14:20:16 +01:00
parent df5379b479
commit 89daf09500

View File

@ -33,7 +33,7 @@ class Connection:
} }
def __init__(self, ipv4: str, proxy: type, mode: int = 1): def __init__(self, ipv4: str, proxy: type, mode: int = 1):
self.address = (ipv4, 80) self.address = (ipv4, 443)
self.proxy = proxy self.proxy = proxy
self.mode = self.MODES.get(mode, TCPAbridged) self.mode = self.MODES.get(mode, TCPAbridged)
self.lock = threading.Lock() self.lock = threading.Lock()