ported list download code to JS

This commit is contained in:
Viet Huynh
2023-09-17 16:48:34 +07:00
parent 083335278c
commit 245cc2e8cf
7 changed files with 42 additions and 22 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ import {
readFile,
} from "./lib/utils.js";
const allowlistFilename = "whitelist.csv";
const blocklistFilename = "input.csv";
const allowlistFilename = "allowlist.txt";
const blocklistFilename = "blocklist.txt";
const allowlist = new Map();
const blocklist = new Map();
const domains = [];