Give it a try

This commit is contained in:
Thomas FORGIONE 2015-07-03 14:57:36 +02:00
parent cbbe9e6597
commit e1d5402222
1 changed files with 1 additions and 1 deletions

View File

@ -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) +