mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Enable trie hostname mode & extend hostname mode test cases
This commit is contained in:
@@ -75,7 +75,7 @@ export const parseGfwList = async () => {
|
||||
})).text();
|
||||
const topDomains = parse(res);
|
||||
|
||||
const trie = createTrie(blackSet);
|
||||
const trie = createTrie(blackSet, true);
|
||||
|
||||
for await (const [domain] of topDomains) {
|
||||
if (trie.has(domain)) {
|
||||
|
||||
Reference in New Issue
Block a user