From ac494ec0e3601485f531854cd4535686a31644c0 Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Fri, 2 Jun 2017 22:36:20 +1000 Subject: [PATCH] More debugging --- index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/index.ts b/index.ts index a83e3e1..dd76bed 100644 --- a/index.ts +++ b/index.ts @@ -17,6 +17,7 @@ app.enable('trust-proxy'); app.get('/', function (req, res) { getIpInfo(req.ips[0]).done(function (geoinfo: IPGeoJson) { console.log("ip: " + geoinfo.ip); + console.log("ips[0]: " + req.ips[0]); res.render('home', { helpers: { ip: function () { return geoinfo.ip; },