mirror of
https://github.com/SukkaW/Surge.git
synced 2026-04-30 01:46:57 +08:00
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
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user