Update Global & CDN & Reject Hosts
Some checks failed
Build / Build (push) Has been cancelled
Build / Diff output (push) Has been cancelled
Build / Deploy to Cloudflare Pages (3.114.12) (push) Has been cancelled
Build / Deploy to GitHub and GitLab (push) Has been cancelled
Build / Remove Artifacts after Deployment (push) Has been cancelled

This commit is contained in:
SukkaW
2026-04-16 21:32:41 +08:00
parent 465dcb2f20
commit ebf63eaa42
4 changed files with 18 additions and 4 deletions

View File

@@ -152,8 +152,8 @@ export async function parseGfwList() {
whiteSet.forEach(domain => gfwListTrie.whitelist(domain, true));
let gfwListSize = 0;
gfwListTrie.dump(() => gfwListSize++);
let dedupedGfwListSize = 0;
gfwListTrie.dump(() => dedupedGfwListSize++);
const kwfilter = createKeywordFilter([...keywordSet]);
@@ -166,7 +166,7 @@ export async function parseGfwList() {
});
console.log(Array.from(missingTop10000Gfwed).join('\n'));
console.log({ totalGfwSize, gfwListSize, missingSize: missingTop10000Gfwed.size });
console.log({ totalGfwSize, dedupedGfwListSize, missingSize: missingTop10000Gfwed.size });
return [
whiteSet,