yuh
parent
bc0e83879e
commit
065984f8f7
|
@ -60,6 +60,7 @@ export async function getLocation(req, ip) {
|
|||
}
|
||||
|
||||
const result = await geoip.lookup(ip);
|
||||
console.log(result);
|
||||
|
||||
return {
|
||||
country: result?.country,
|
||||
|
|
Loading…
Reference in New Issue