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:
@@ -105,6 +105,10 @@ func (m Model) viewDetailPanel() string {
|
||||
|
||||
section("ENDPOINT")
|
||||
row("Type", site.Type)
|
||||
if site.Type == "push" && site.Token != "" {
|
||||
row("Token", site.Token)
|
||||
row("Push URL", "/api/push/"+site.Token)
|
||||
}
|
||||
if site.URL != "" {
|
||||
row("URL", site.URL)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user