mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 20:15:41 +01:00
remove console logs
This commit is contained in:
parent
3bca3ef072
commit
911eae897f
3 changed files with 0 additions and 9 deletions
|
|
@ -70,7 +70,6 @@ export async function getCountry(req, ip) {
|
|||
// Database lookup
|
||||
if (!lookup) {
|
||||
lookup = await maxmind.open(path.resolve('node_modules/.geo/GeoLite2-City.mmdb'));
|
||||
// lookup = await maxmind.open(path.resolve('node_modules/.geo/GeoLite2-Country.mmdb'));
|
||||
}
|
||||
|
||||
const result = lookup.get(ip);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue