mirror of
https://github.com/TeamPGM/pyrogram.git
synced 2024-11-28 00:56:19 +00:00
Move the CDN DC IPv6 to the correct mapping
This commit is contained in:
parent
d9d68529aa
commit
2ff67c72aa
@ -51,13 +51,13 @@ class DataCenter:
|
|||||||
2: "2001:67c:4e8:f002::a",
|
2: "2001:67c:4e8:f002::a",
|
||||||
3: "2001:b28:f23d:f003::a",
|
3: "2001:b28:f23d:f003::a",
|
||||||
4: "2001:67c:4e8:f004::a",
|
4: "2001:67c:4e8:f004::a",
|
||||||
5: "2001:b28:f23f:f005::a"
|
5: "2001:b28:f23f:f005::a",
|
||||||
|
203: "2a0a:f280:0203:000a:5000:0000:0000:0100"
|
||||||
}
|
}
|
||||||
|
|
||||||
PROD_IPV6_MEDIA = {
|
PROD_IPV6_MEDIA = {
|
||||||
2: "2001:067c:04e8:f002:0000:0000:0000:000b",
|
2: "2001:067c:04e8:f002:0000:0000:0000:000b",
|
||||||
4: "2001:067c:04e8:f004:0000:0000:0000:000b",
|
4: "2001:067c:04e8:f004:0000:0000:0000:000b"
|
||||||
203: "2a0a:f280:0203:000a:5000:0000:0000:0100"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def __new__(cls, dc_id: int, test_mode: bool, ipv6: bool, media: bool) -> Tuple[str, int]:
|
def __new__(cls, dc_id: int, test_mode: bool, ipv6: bool, media: bool) -> Tuple[str, int]:
|
||||||
|
Loading…
Reference in New Issue
Block a user