Try a different path.
parent
d1765f746b
commit
60ea492a48
|
@ -64,7 +64,7 @@ export async function getCountry(req, ip) {
|
|||
|
||||
// Database lookup
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue