fix(tui): show push token and URL in detail panel

Push monitors were missing token/endpoint info in the detail
view, making it impossible to know where to send heartbeats.
This commit is contained in:
2026-06-04 13:54:20 -04:00
parent ca43621c44
commit 10c6ec348e
+4
View File
@@ -105,6 +105,10 @@ func (m Model) viewDetailPanel() string {
section("ENDPOINT") section("ENDPOINT")
row("Type", site.Type) row("Type", site.Type)
if site.Type == "push" && site.Token != "" {
row("Token", site.Token)
row("Push URL", "/api/push/"+site.Token)
}
if site.URL != "" { if site.URL != "" {
row("URL", site.URL) row("URL", site.URL)
} }