diff --git a/server.js b/server.js index 1a5d2d4..831f4d5 100644 --- a/server.js +++ b/server.js @@ -36,7 +36,7 @@ app.use(bodyParser.json()); app.use(function(req, res, next) { // Log connection - console.log('[REQ] ' + new Date() + ' ' + req.connection.remoteAddress + ' : ' + req.url); + console.log('[REQ] ' + new Date() + ' ' + req.headers['X-Forwarded-For'] + ' : ' + req.url); res.locals.title = "3DUI"; res.locals.urls = urls;