mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 20:01:04 +00:00
List the amount of items found in the whitelist
This commit is contained in:
@@ -40,6 +40,7 @@ fs.readFile('whitelist.csv', 'utf8', async (err, data) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
console.log(`Found ${whitelist.length} valid domains in whitelist.`);
|
||||||
|
|
||||||
// Read input.csv and parse domains
|
// Read input.csv and parse domains
|
||||||
fs.readFile('input.csv', 'utf8', async (err, data) => {
|
fs.readFile('input.csv', 'utf8', async (err, data) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user