Give a try
This commit is contained in:
parent
e1d5402222
commit
59aa1c7339
|
@ -30,6 +30,7 @@ Log.ready = function(msg) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.request = function(req, res) {
|
Log.request = function(req, res) {
|
||||||
|
console.log(req.headers['x-forwarded-for'], process.env.OPENSHIFT_NODEJS_IP);
|
||||||
if (req.headers['x-forwarded-for'] != process.env.OPENSHIFT_NODEJS_IP || isDev) {
|
if (req.headers['x-forwarded-for'] != process.env.OPENSHIFT_NODEJS_IP || isDev) {
|
||||||
log(
|
log(
|
||||||
'[REQ] ' + new Date() + ' ' +
|
'[REQ] ' + new Date() + ' ' +
|
||||||
|
|
Loading…
Reference in New Issue