mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Add Telegram secret backup IP-CIDR
This commit is contained in:
parent
78935fead3
commit
090f055677
@ -12,7 +12,11 @@ export const getTelegramCIDRPromise = createMemoizedPromise(async () => {
|
||||
const lastModified = resp.headers.get('last-modified');
|
||||
const date = lastModified ? new Date(lastModified) : new Date();
|
||||
|
||||
const ipcidr: string[] = [];
|
||||
const ipcidr: string[] = [
|
||||
// Telegram secret backup CIDR, announced by AS62041
|
||||
// see also https://github.com/Telegram-FOSS-Team/Telegram-FOSS/blob/10da5406ed92d30c6add3b25d40b2b3b6995d873/TMessagesProj/src/main/java/org/telegram/tgnet/ConnectionsManager.java#L1157
|
||||
'95.161.64.0/20'
|
||||
];
|
||||
const ipcidr6: string[] = [];
|
||||
|
||||
for await (const cidr of createReadlineInterfaceFromResponse(resp, true)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user