From 353a49f37aa45cb79270c4fa2c022a0b8eaff860 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 26 Sep 2020 21:20:41 -0700 Subject: [PATCH] Update path. --- lib/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/request.js b/lib/request.js index 06ba66bf..052f7200 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, 'public/geo/GeoLite2-Country.mmdb'), ); const result = lookup.get(ip);