mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 13:38:37 +00:00
fixed list creation
This commit is contained in:
+2
-2
@@ -112,9 +112,9 @@ fs.readFile('input.csv', 'utf8', async (err, data) => {
|
|||||||
if (DRY_RUN) return console.log('Dry run complete - no lists were created. If this was not intended, please remove the DRY_RUN environment variable and try again.');
|
if (DRY_RUN) return console.log('Dry run complete - no lists were created. If this was not intended, please remove the DRY_RUN environment variable and try again.');
|
||||||
|
|
||||||
if (FAST_MODE) {
|
if (FAST_MODE) {
|
||||||
createZeroTrustListsAtOnce(items);
|
createZeroTrustListsAtOnce(domains);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
createZeroTrustListsOneByOne(items);
|
createZeroTrustListsOneByOne(domains);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user