From f2b82f04a97c92cc5b36b32ea87302401ace535f Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Thu, 1 Oct 2026 06:50:56 +0000 Subject: [PATCH] Startup box: mark satellite-served domains, link only local auth hosts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A satellite's domain lines get a 🛰 marker, and the header URLs skip remote domains' auth hosts (those live on the upstream) so a satellite-only instance points at its own local admin page. --- paskia/util/startupbox.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/paskia/util/startupbox.py b/paskia/util/startupbox.py index a9675a7..b85f286 100644 --- a/paskia/util/startupbox.py +++ b/paskia/util/startupbox.py @@ -125,7 +125,11 @@ def print_startup_config( header_urls = [f"{w}{vite_url}{r} (vite dev)"] else: header_urls = [ - f"{w}{url}{r}" for d in domains if (url := auth_host_url(d.config)) + f"{w}{url}{r}" + for d in domains + # A satellite-served domain's auth host lives on the upstream — + # the header links this instance's own account pages. + if d.config.remote is None and (url := auth_host_url(d.config)) ] if not header_urls: guess = min( @@ -164,6 +168,8 @@ def print_startup_config( rp_name = domain.rp_name suffix = f" ({rp_name})" if rp_name and rp_name != domain.rp_id else "" head = f"{w}{domain.rp_id}{r}{suffix}" + if domain.remote is not None: + head += " 🛰" # satellite-served via an uplink if not domain.config.origins: rows.append(f"{head} — no sign-in sites") continue