From bbf7abfadc2dd22bce45fd8e5073f6eaa5bcb78a Mon Sep 17 00:00:00 2001 From: Maxime Baconnais Date: Sun, 7 Oct 2018 03:20:12 +0200 Subject: [PATCH] Remove console.log --- core/serverManager.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/serverManager.js b/core/serverManager.js index 6f728af..5c0b2f0 100644 --- a/core/serverManager.js +++ b/core/serverManager.js @@ -81,8 +81,7 @@ serverManager.forceStopStream = (session, reason) => { serverManager.geoIp = (url, ip) => { const geo = geoip.lookup(ip); - console.log(ip, geo); - + if (typeof (stats[url].routing) !== 'undefined') { if (typeof (stats[url].routing[geo.country + '-' + geo.region]) !== 'undefined') // 'COUNTRY-REGION' tag like 'US-TX' return (stats[url].routing[geo.country + '-' + geo.region])