feat: LAN detection via ping probe for Tailscale clients at home
Deploy Dashboard / deploy (push) Successful in 1m16s

This commit is contained in:
Gan, Jimmy
2026-02-26 03:19:14 +08:00
parent 2835e6b021
commit da1f709f01
2 changed files with 15 additions and 2 deletions
@@ -14,7 +14,7 @@
if (typeof window !== "undefined") {
fetch("/api/client-ip").then(r => r.json()).then(d => {
if (d.ip?.startsWith("192.168.31.")) lanReachable = true;
if (d.lan) lanReachable = true;
}).catch(() => {});
}