mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 03:25:40 +01:00
yuh
This commit is contained in:
parent
bc0e83879e
commit
065984f8f7
1 changed files with 1 additions and 0 deletions
|
|
@ -60,6 +60,7 @@ export async function getLocation(req, ip) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const result = await geoip.lookup(ip);
|
const result = await geoip.lookup(ip);
|
||||||
|
console.log(result);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
country: result?.country,
|
country: result?.country,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue