mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
?
This commit is contained in:
@@ -62,7 +62,6 @@ fs.readFile('input.csv', 'utf8', async (err, data) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Remove domains from the domains array that are present in the whitelist array
|
// Remove domains from the domains array that are present in the whitelist array
|
||||||
const whitelist = whitelist
|
|
||||||
domains = domains.filter(domain => {
|
domains = domains.filter(domain => {
|
||||||
return !whitelist.includes(domain);
|
return !whitelist.includes(domain);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user