From b75c6a0b0ca966f684b026f7fda8057fdb9872a7 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 20 Oct 2024 08:32:19 +0200 Subject: [PATCH] // --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index c1a8438..b0bef92 100644 --- a/index.js +++ b/index.js @@ -59,13 +59,13 @@ const reportIP = async (event, uri, country, hostname, endpoint, cycleErrorCount if (event.clientIP === clientIp.address) { logToCSV(event.rayName, event.clientIP, country, hostname, endpoint, event.userAgent, event.action, 'YOUR_IP_ADDRESS'); - log('log', `Your IP address (${event.clientIP}) was unexpectedly received from Cloudflare. URI: ${uri}; Ignoring...`); + log('log', `Your IP address (${event.clientIP}) was unexpectedly received from Cloudflare. URI: ${uri}`); return false; } if (uri.length > MAX_URL_LENGTH) { logToCSV(event.rayName, event.clientIP, country, hostname, endpoint, event.userAgent, event.action, 'URI_TOO_LONG'); - log('log', `URL too long ${event.clientIP}; URI: ${uri}`); + // log('log', `URL too long ${event.clientIP}; URI: ${uri}`); return false; }