Skip to content

Commit

Permalink
Peers: Use new freegeoip.app for IP geolocation
Browse files Browse the repository at this point in the history
  • Loading branch information
TheHolyRoger committed Dec 23, 2019
1 parent 8b9ed64 commit 41d554c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/peers.js
Expand Up @@ -39,7 +39,7 @@ mongoose.connect(dbString, function(err) {
// peer already exists
loop.next();
} else {
request({uri: 'http://freegeoip.net/json/' + address, json: true}, function (error, response, geo) {
request({uri: 'https://freegeoip.app/json/' + address, json: true}, function (error, response, geo) {
db.create_peer({
address: address,
port: port,
Expand Down

0 comments on commit 41d554c

Please sign in to comment.