Telegram IP List no longer use upstream mtime

This commit is contained in:
SukkaW 2025-08-09 01:03:27 +08:00
parent 62e7efcaf7
commit 503352afc5

View File

@ -145,7 +145,10 @@ export const buildTelegramCIDR = task(require.main === module, __filename)(async
return new RulesetOutput(span, 'telegram', 'ip')
.withTitle('Sukka\'s Ruleset - Telegram IP CIDR')
.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)
.bulkAddCIDR6NoResolve(ipcidr6)
.write();