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