Update server status cache key and fix URL formatting for Nextcloud

This commit is contained in:
Fabian Schieder 2026-03-01 14:21:13 +01:00
parent 37c2ef88e9
commit 9020a7f7a3
2 changed files with 2 additions and 3 deletions

View File

@ -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',
],
];

View File

@ -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;