Skip to content

Commit

Permalink
removed debug message
Browse files Browse the repository at this point in the history
  • Loading branch information
reed-tom committed Sep 11, 2023
1 parent bf9532a commit 4018149
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion routes/public/stats/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ module.exports = (baseRoute, middleWare, router) => {
*/
try {
if (!common.isHostAllowed(req, res)) return;
console.log("HEADERS" + JSON.stringify(req.headers), "remoteAddress" + req.connection.remoteAddress, "remotePort" + req.connection.remotePort, "localAddress" + req.connection.localAddress);
// IP FROM PROXY
let ip = req.headers["x-real-ip"];
if (ip === undefined) ip = req.headers["proxy-ip"];
Expand Down

0 comments on commit 4018149

Please sign in to comment.