feat(monitor): add STALE state for push monitors #57
@@ -107,7 +107,7 @@ func (m Model) viewDetailPanel() string {
|
|||||||
row("Type", site.Type)
|
row("Type", site.Type)
|
||||||
if site.Type == "push" && site.Token != "" {
|
if site.Type == "push" && site.Token != "" {
|
||||||
row("Token", site.Token)
|
row("Token", site.Token)
|
||||||
row("Push URL", "/api/push/"+site.Token)
|
row("Push", "curl -X POST -H 'Authorization: Bearer "+site.Token+"' <host>/api/push")
|
||||||
}
|
}
|
||||||
if site.URL != "" {
|
if site.URL != "" {
|
||||||
row("URL", site.URL)
|
row("URL", site.URL)
|
||||||
|
|||||||
Reference in New Issue
Block a user