This commit is contained in:
Sefinek 2024-10-10 07:49:39 +02:00
parent 28c8060e6f
commit 11b86be200

View file

@ -139,7 +139,7 @@ const reportIP = async (event, uri, country, hostname, endpoint, cycleErrorCount
continue;
}
const uri = `${event.hostname}${event.endpoint}`;
const uri = `${event.clientRequestHTTPHost}${event.clientRequestPath}`;
if (whitelist.includes(uri)) return log('log', `Ignoring ${uri}...`);
const reportedIPs = readReportedIPs();