Skip to content
Permalink
Browse files

Real IP ?2

  • Loading branch information...
Depado committed Dec 4, 2014
1 parent 8464e37 commit 8c7396509611d7453a739cd1a7635d0f36284f53
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.js
2 app.js
@@ -121,7 +121,7 @@ app.get('/', function(req, res) {
action_name: req.url,
ua: req.header('User-Agent'),
lang: req.header('Accept-Language'),
cip: req.headers['x-forwarded-for'] || req.connection.remoteAddress;
cip: req.headers['x-forwarded-for'] || req.connection.remoteAddress
});
res.render('index.html');
});

0 comments on commit 8c73965

Please sign in to comment.
You can’t perform that action at this time.