diff --git a/glance-system/glance-kisfenyo.yaml b/glance-system/glance-kisfenyo.yaml index 26f3250..24623bd 100644 --- a/glance-system/glance-kisfenyo.yaml +++ b/glance-system/glance-kisfenyo.yaml @@ -685,7 +685,7 @@ data: widgets: - type: custom-api title: Uptime Kuma - title-url: ${UPTIME_KUMA_URL} + title-url: ${UPTIME_KUMA_PUBLIC_URL} url: ${UPTIME_KUMA_URL}/api/status-page/${UPTIME_KUMA_STATUS_SLUG} subrequests: heartbeats: @@ -694,14 +694,14 @@ data: template: | {{ $hb := .Subrequest "heartbeats" }} - {{ if not (.JSON.Exists "heartbeatList") }} + {{ if not (.JSON.Exists "publicGroupList") }}
Error reading response
- {{ else if eq (len (.JSON.Array "heartbeatList")) 0 }} + {{ else if eq (len (.JSON.Array "publicGroupList")) 0 }}No monitors found
{{ else }}