From fbf37cfec25a8537578a445602abac7f22f43f17 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Mon, 19 Aug 2024 11:31:31 +0200 Subject: [PATCH] Change to `continue` --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 2fcae99..c614f1c 100644 --- a/index.js +++ b/index.js @@ -124,7 +124,7 @@ const reportIP = async (event, url, country, cycleErrorCounts) => { if (!wasImageRequestLogged(ip, reportedIPs)) { logToCSV(event.rayName, ip, url, 'Skipped - Image Request', country); - if (imageRequestLogged) break; + if (imageRequestLogged) continue; log('info', 'Skipping image requests in this cycle...'); imageRequestLogged = true; }