mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Update path.
This commit is contained in:
parent
c05be856f3
commit
353a49f37a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue