From b7290ce3bfe40fbc97939e457bc576e6a3ba9f9b Mon Sep 17 00:00:00 2001 From: Alex Janka Date: Fri, 2 Jun 2017 22:39:47 +1000 Subject: [PATCH] Remove debugging --- index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/index.ts b/index.ts index 9335e76..78232b9 100644 --- a/index.ts +++ b/index.ts @@ -16,8 +16,6 @@ app.set('view engine', 'handlebars'); app.get('/', function (req, res) { getIpInfo(req.ip).done(function (geoinfo: IPGeoJson) { - console.log("ip: " + geoinfo.ip); - console.log("req.ip: " + req.ip); res.render('home', { helpers: { ip: function () { return geoinfo.ip; }, @@ -28,7 +26,7 @@ app.get('/', function (req, res) { postal: function () { return geoinfo.postal } } }); - }); //replace with req.ip + }); }); app.listen(3000, 'localhost');