Funny X-Real_IP go brrrr
This commit is contained in:
parent
42a028f52c
commit
0d33128233
2
index.js
2
index.js
|
@ -424,7 +424,7 @@ app.get('/', (req, res) => {
|
||||||
"commit": getGitCommitDetails()
|
"commit": getGitCommitDetails()
|
||||||
},
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"yourIP": req.ip,
|
"yourIP": req.headers["X-Real-IP"] || req.ip,
|
||||||
"yourUserAgent": req.headers["user-agent"]
|
"yourUserAgent": req.headers["user-agent"]
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue