mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Chore: update reject toolchain
This commit is contained in:
@@ -16,7 +16,7 @@ const { isIPv4, isIPv6 } = require('net');
|
||||
'# Telegram CIDR (https://core.telegram.org/resources/cidr.txt)' + '\n' +
|
||||
'# Last Updated: ' + lastModified.toISOString() + '\n' +
|
||||
res.map(ip => {
|
||||
const [subnet, range] = ip.split('/');
|
||||
const [subnet] = ip.split('/');
|
||||
if (isIPv4(subnet)) {
|
||||
return `IP-CIDR,${ip},no-resolve`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user