yusukeshib / express-fingerprint

Server-side fingerprinting
131 stars 26 forks source link

geoip returns a `null` value #14

Closed TarekRaafat closed 4 years ago

TarekRaafat commented 4 years ago

geoip returns a null value.

When I bypass the _geoipLite2 function and use the below instead it works as expected.

Doesn't work

const geo = _geoipLite2.default.lookup(this.req.ip);

Works

const geo = _geoipLite.lookup(this.req.ip);

Any idea why this is occurring?

italofialho commented 4 years ago

Same here :(

victor-gabou commented 4 years ago

+1

yusukeshib commented 4 years ago

@TarekRaafat @italofialho @victor-gabou

I released v1.2.0, I think it's fixed.