Update Reject & Download Hosts

This commit is contained in:
SukkaW
2024-01-03 12:03:18 +08:00
parent 6ac8a09655
commit 250a436207
4 changed files with 16 additions and 7 deletions

View File

@@ -68,10 +68,10 @@ export const buildRejectDomainSet = task(import.meta.path, async () => {
purePhishingDomains.forEach(suffix => domainSets.add(`.${suffix}`));
}),
(async () => {
for await (const line of readFileByLine(path.resolve(import.meta.dir, '../Source/domainset/reject_sukka.conf'))) {
const l = processLine(line);
if (l) {
domainSets.add(l);
for await (const l of readFileByLine(path.resolve(import.meta.dir, '../Source/domainset/reject_sukka.conf'))) {
const line = processLine(l);
if (line) {
domainSets.add(line);
}
}
})()