diff --git a/src/tools/my-ip/my-ip.vue b/src/tools/my-ip/my-ip.vue index 60d640c2..2630a448 100644 --- a/src/tools/my-ip/my-ip.vue +++ b/src/tools/my-ip/my-ip.vue @@ -54,7 +54,7 @@ const [clientIPDetails, refreshClientIP] = computedRefreshableAsync(async () => await loadIpLookup(); try { - location.country = await window.IpLookup(ipv6.ip || ipv4.ip); + location.country = await window.IpLookup(ipv4.ip || ipv6.ip); } catch (e: any) { location.error = e.toString();