mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Try a different path.
This commit is contained in:
parent
d1765f746b
commit
60ea492a48
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export async function getCountry(req, ip) {
|
||||||
|
|
||||||
// Database lookup
|
// Database lookup
|
||||||
const lookup = await maxmind.open(
|
const lookup = await maxmind.open(
|
||||||
path.resolve(serverRuntimeConfig.PROJECT_ROOT, '../geo/GeoLite2-Country.mmdb'),
|
path.resolve(serverRuntimeConfig.PROJECT_ROOT, 'geo/GeoLite2-Country.mmdb'),
|
||||||
);
|
);
|
||||||
|
|
||||||
const result = lookup.get(ip);
|
const result = lookup.get(ip);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue