Reduce auto-refresh countdown from 10s to 3s

Updated the `HealthCheckHtmlGenerator` class to change the HTML auto-refresh countdown display from 10 seconds to 3 seconds. Adjusted the `countdown` variable in `health-ui.js` to initialize with 3 seconds, ensuring consistency between the frontend logic and the displayed countdown timer.
This commit is contained in:
2026-07-13 14:14:53 +02:00
parent 9537954626
commit 5f251c1209
2 changed files with 2 additions and 2 deletions

View File

@@ -253,7 +253,7 @@ public static class HealthCheckHtmlGenerator
sb.AppendLine(@"
<div class=""refresh-info"">");
sb.AppendLine();
sb.Append(" <span class=\"spinner\"></span> Auto-refresh in <strong><span id=\"countdown\">10</span>s</strong>");
sb.Append(" <span class=\"spinner\"></span> Auto-refresh in <strong><span id=\"countdown\">3</span>s</strong>");
sb.AppendLine();
sb.AppendLine(@" </div>");
}

View File

@@ -1,4 +1,4 @@
let countdown = 10;
let countdown = 3;
function updateCountdown() {
document.getElementById('countdown').innerText = countdown;