Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Commit 2ff67c7

Browse files
committed
Move the CDN DC IPv6 to the correct mapping
1 parent d9d6852 commit 2ff67c7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyrogram/session/internals/data_center.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ class DataCenter:
5151
2: "2001:67c:4e8:f002::a",
5252
3: "2001:b28:f23d:f003::a",
5353
4: "2001:67c:4e8:f004::a",
54-
5: "2001:b28:f23f:f005::a"
54+
5: "2001:b28:f23f:f005::a",
55+
203: "2a0a:f280:0203:000a:5000:0000:0000:0100"
5556
}
5657

5758
PROD_IPV6_MEDIA = {
5859
2: "2001:067c:04e8:f002:0000:0000:0000:000b",
59-
4: "2001:067c:04e8:f004:0000:0000:0000:000b",
60-
203: "2a0a:f280:0203:000a:5000:0000:0000:0100"
60+
4: "2001:067c:04e8:f004:0000:0000:0000:000b"
6161
}
6262

6363
def __new__(cls, dc_id: int, test_mode: bool, ipv6: bool, media: bool) -> Tuple[str, int]:

0 commit comments

Comments
 (0)