Static service detail: drop the duplicate Subdomain field

A static showed both 'Served at' (from the static block) and 'Subdomain' (the
general proxied-service field) — same URL twice. Gate 'Subdomain' to non-static;
a static's gateway URL is already 'Served at'.
This commit is contained in:
2026-07-01 13:08:46 -07:00
parent 0463cd91f1
commit 05031a1395

View File

@@ -101,7 +101,9 @@ export function ServiceDetailPage() {
<span className="font-mono break-all">{deployment.health_path}</span> <span className="font-mono break-all">{deployment.health_path}</span>
</> </>
)} )}
{deployment.subdomain && ( {/* A static already shows its gateway URL as "Served at" above; only a
proxied (systemd) service surfaces the same thing as "Subdomain". */}
{!isStatic && deployment.subdomain && (
<> <>
<span className="text-[var(--muted)]">Subdomain</span> <span className="text-[var(--muted)]">Subdomain</span>
<a <a