From 1862247509ae35e253fecd7875a9809721722f96 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Thu, 2 Jul 2015 15:13:36 +0200 Subject: [PATCH] Just a try --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;