|
@ -159,7 +159,7 @@ class LinkService extends SiteService { |
|
|
/* |
|
|
/* |
|
|
* We geo-analyze (but do not store) the IP address. |
|
|
* We geo-analyze (but do not store) the IP address. |
|
|
*/ |
|
|
*/ |
|
|
const ipAddress = (req.ip === '127.0.0.1') ? '104.131.58.173' : req.ip; |
|
|
const ipAddress = req.ip; |
|
|
const geo = geoip.lookup(ipAddress); |
|
|
const geo = geoip.lookup(ipAddress); |
|
|
if (geo) { |
|
|
if (geo) { |
|
|
visit.geoip = { |
|
|
visit.geoip = { |
|
|