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) {
|
||||
console.log(req.headers['x-forwarded-for'], process.env.OPENSHIFT_NODEJS_IP);
|
||||
if (req.headers['x-forwarded-for'] != process.env.OPENSHIFT_NODEJS_IP || isDev) {
|
||||
log(
|
||||
'[REQ] ' + new Date() + ' ' +
|
||||
|
|
Loading…
Reference in New Issue