Fix
This commit is contained in:
parent
28c8060e6f
commit
11b86be200
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue