From 17ef18f1d5692fc597dec23fc81d432ccbf66dca Mon Sep 17 00:00:00 2001 From: kisfenyo Date: Tue, 13 Jan 2026 10:46:25 +0100 Subject: [PATCH] added internal URL for uptimekuma widget --- glance-system/glance-kisfenyo.yaml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 }}