From c63e10a135438dbf3a8f9e993042303c1fb319dc Mon Sep 17 00:00:00 2001 From: ShareVB Date: Mon, 18 Aug 2025 22:48:18 +0200 Subject: [PATCH] fix(My IP): resolve country by IPv4 first IPv6 has little country info --- src/tools/my-ip/my-ip.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();