mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-03 04:21:53 +08:00
Feat: build index.html
This commit is contained in:
@@ -21,8 +21,8 @@ function makeCidrList(cidr) {
|
||||
|
||||
return `############################
|
||||
# Mainland China IPv4 CIDR
|
||||
# Data from vx.link (tmplink @ GitHub)
|
||||
# Last Updated: ${date.getFullYear()}-${date.getUTCMonth() + 1}-${date.getUTCDate()} ${date.getUTCHours()}:${date.getUTCMinutes()}:${date.getUTCSeconds()}
|
||||
# Data from misaka.io (misakaio @ GitHub)
|
||||
# Last Updated: ${date.toISOString()}
|
||||
# Routes: ${cidr.length}
|
||||
############################\n` + cidr.map(i => `IP-CIDR,${i}`).join('\n') + '\n########### END ############\n';
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user