Give it a try
This commit is contained in:
parent
cbbe9e6597
commit
e1d5402222
|
@ -30,7 +30,7 @@ Log.ready = function(msg) {
|
|||
}
|
||||
|
||||
Log.request = function(req, res) {
|
||||
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(
|
||||
'[REQ] ' + new Date() + ' ' +
|
||||
(req.headers['x-forwarded-for'] || req.connection.remoteAddress) +
|
||||
|
|
Loading…
Reference in New Issue