From 9020a7f7a308e60001fd7beca11696a478330de0 Mon Sep 17 00:00:00 2001 From: Fabian Schieder Date: Sun, 1 Mar 2026 14:21:13 +0100 Subject: [PATCH] Update server status cache key and fix URL formatting for Nextcloud --- includes/config/server_status_targets.php | 3 +-- index.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/includes/config/server_status_targets.php b/includes/config/server_status_targets.php index 1f24991..2e796d0 100644 --- a/includes/config/server_status_targets.php +++ b/includes/config/server_status_targets.php @@ -13,7 +13,7 @@ return [ ], [ 'title' => 'Nextcloud', - 'url' => 'https://fabianschieder.com/nextcloud', + 'url' => 'https://fabianschieder.com/nextcloud/', ], [ 'title' => 'Home Assistant', @@ -32,4 +32,3 @@ return [ 'url' => 'https://geizkragen.store', ], ]; - diff --git a/index.php b/index.php index c6e8e4b..38410d7 100644 --- a/index.php +++ b/index.php @@ -16,7 +16,7 @@ require_once __DIR__ . '/includes/lib/view_helpers.php'; // ── Serverstatus (mit Cache) ────────────────────────────────────────────── $cacheTtlSeconds = 30; -$cacheKey = 'server_status_v3'; +$cacheKey = 'server_status_v4'; $cacheFile = rtrim(sys_get_temp_dir(), DIRECTORY_SEPARATOR) . DIRECTORY_SEPARATOR . $cacheKey . '.json'; $serverStatus = null;