mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-01 23:05:15 +00:00
Switch back to port 443
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user