mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 17:20:35 +08:00
Telegram IP List no longer use upstream mtime
This commit is contained in:
parent
62e7efcaf7
commit
503352afc5
@ -145,7 +145,10 @@ export const buildTelegramCIDR = task(require.main === module, __filename)(async
|
|||||||
return new RulesetOutput(span, 'telegram', 'ip')
|
return new RulesetOutput(span, 'telegram', 'ip')
|
||||||
.withTitle('Sukka\'s Ruleset - Telegram IP CIDR')
|
.withTitle('Sukka\'s Ruleset - Telegram IP CIDR')
|
||||||
.withDescription(description)
|
.withDescription(description)
|
||||||
.withDate(date)
|
// .withDate(date) // With extra data source, we no longer use last-modified for file date
|
||||||
|
.appendDataSource(
|
||||||
|
'https://core.telegram.org/resources/cidr.txt (last updated: ' + date.toISOString() + ')'
|
||||||
|
)
|
||||||
.bulkAddCIDR4NoResolve(ipcidr)
|
.bulkAddCIDR4NoResolve(ipcidr)
|
||||||
.bulkAddCIDR6NoResolve(ipcidr6)
|
.bulkAddCIDR6NoResolve(ipcidr6)
|
||||||
.write();
|
.write();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user