mirror of
https://github.com/Nezumi-2711/cloudflare-gateway-pihole-scripts.git
synced 2026-09-22 20:01:04 +00:00
use native fetch and refactored list creation
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export const isDev = () => process.env.NODE_ENV !== "production";
|
||||
|
||||
export const sleep = (ms = 350) =>
|
||||
new Promise((resolve) => setTimeout(resolve, ms));
|
||||
Reference in New Issue
Block a user