diff --git a/lib/request.js b/lib/request.js index 15ab5722..06ba66bf 100644 --- a/lib/request.js +++ b/lib/request.js @@ -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);