Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxou44 committed Oct 7, 2018
1 parent 5113f15 commit bbf7abf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/serverManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit bbf7abf

Please sign in to comment.