Update
This commit is contained in:
parent
c2f3f89bc9
commit
51588d5095
1 changed files with 0 additions and 1 deletions
1
index.js
1
index.js
|
|
@ -43,7 +43,6 @@ const isIPReportedRecently = (ip, reportedIPs) => {
|
||||||
|
|
||||||
const reportIP = async (event, country, hostname, endpoint, userAgent, cycleErrorCounts) => {
|
const reportIP = async (event, country, hostname, endpoint, userAgent, cycleErrorCounts) => {
|
||||||
const uri = `${hostname}${endpoint}`;
|
const uri = `${hostname}${endpoint}`;
|
||||||
|
|
||||||
if (!uri) {
|
if (!uri) {
|
||||||
logToCSV(event.rayName, event.clientIP, country, hostname, endpoint, event.userAgent, 'MISSING_URI');
|
logToCSV(event.rayName, event.clientIP, country, hostname, endpoint, event.userAgent, 'MISSING_URI');
|
||||||
log('warn', `Missing URL ${event.clientIP}; URI: ${uri}`);
|
log('warn', `Missing URL ${event.clientIP}; URI: ${uri}`);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue