diff --git a/lib/request.js b/lib/request.js index cb9abc7b..6ca684e2 100644 --- a/lib/request.js +++ b/lib/request.js @@ -67,7 +67,7 @@ export async function getCountry(req, ip) { // Database lookup if (!lookup) { - lookup = await maxmind.open('./node_modules/.geo/GeoLite2-Country.mmdb'); + lookup = await maxmind.open('node_modules/.geo/GeoLite2-Country.mmdb'); } const result = lookup.get(ip);