Remove headers?
This commit is contained in:
parent
b242e38f96
commit
9a9f3a69fa
4
index.js
4
index.js
|
@ -424,9 +424,9 @@ app.get('/', (req, res) => {
|
||||||
"commit": getGitCommitDetails()
|
"commit": getGitCommitDetails()
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"yourIP": req.ip || req.headers["X-Real-IP"],
|
// "yourIP" Either the IP of the user, or the IP of the proxy if one is used, proxy IP header is x-real-ip
|
||||||
|
"yourIP": req.headers["x-real-ip"] || req.ip,
|
||||||
"yourUserAgent": req.headers["user-agent"],
|
"yourUserAgent": req.headers["user-agent"],
|
||||||
"yourHeaders": req.headers
|
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue