diff --git a/modules/homelab/services/glance/default.nix b/modules/homelab/services/glance/default.nix index a272bc7..bfe4afd 100644 --- a/modules/homelab/services/glance/default.nix +++ b/modules/homelab/services/glance/default.nix @@ -251,13 +251,13 @@ in { cache = "5s"; template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; } - { - type = "custom-api"; - title = "craftoria"; - url = "https://api.mcstatus.io/v2/status/java/raceraskedforthisenjoyyall.recoil.pro"; - cache = "5s"; - template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; - # } + { + type = "custom-api"; + title = "craftoria"; + url = "https://api.mcstatus.io/v2/status/java/raceraskedforthisenjoyyall.recoil.pro"; + cache = "5s"; + template = "
\n
\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n \n \n {{ end }}\n
\n\n
\n \n {{ .JSON.String \"host\" }}\n {{ if .JSON.Bool \"online\" }}\n \n {{ else }}\n \n {{ end }}\n \n\n \n
\n
"; + } ]; } {