From c4deeebb571980acb1648e5f77f7d75dd107f618 Mon Sep 17 00:00:00 2001 From: north-star-info Date: Fri, 30 Oct 2026 19:14:29 +0000 Subject: [PATCH] Hide the saved web address unless Tailscale is signed in MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A saved https address kept showing after Tailscale went offline, so Safari opened a name that served nothing. The card now shows the setup message instead of a dead link. 🤖 Generated with Codebuff Co-Authored-By: Codebuff --- public/main.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/public/main.js b/public/main.js index 44f3dd5..0a02432 100644 --- a/public/main.js +++ b/public/main.js @@ -5690,8 +5690,10 @@ function companionStatus() { web: { installed: companionWebProbe.installed, signedIn: companionWebProbe.signedIn, - enabled: stored.webEnabled === true, - url: stored.webUrl || '', + enabled: stored.webEnabled === true && companionWebProbe.signedIn === true, + // A saved address is only valid while Tailscale is signed in and Funnel is on. + // Otherwise Safari gets a name that no longer serves anything. + url: companionWebProbe.signedIn === true ? stored.webUrl || '' : '', error: stored.webError || companionWebProbe.error || '', }, };