Spaces:
Sleeping
Sleeping
Update index.html
Browse files- index.html +2 -2
index.html
CHANGED
@@ -120,8 +120,8 @@
|
|
120 |
let monitoredUrlsCache = []; // Client-side cache of URL data from backend
|
121 |
|
122 |
const UI_REFRESH_INTERVAL_MS = 5000; // Refresh UI data from backend every 5 seconds
|
123 |
-
const HISTORY_DURATION_MS_FOR_DISPLAY =
|
124 |
-
const MAX_HISTORY_POINTS_FOR_DISPLAY =
|
125 |
|
126 |
// --- Theme Toggle (UNCHANGED logic) ---
|
127 |
function applyTheme(isDark) {
|
|
|
120 |
let monitoredUrlsCache = []; // Client-side cache of URL data from backend
|
121 |
|
122 |
const UI_REFRESH_INTERVAL_MS = 5000; // Refresh UI data from backend every 5 seconds
|
123 |
+
const HISTORY_DURATION_MS_FOR_DISPLAY = 60 * 60 * 1000; // For uptime % and history bar visualization
|
124 |
+
const MAX_HISTORY_POINTS_FOR_DISPLAY = 120;
|
125 |
|
126 |
// --- Theme Toggle (UNCHANGED logic) ---
|
127 |
function applyTheme(isDark) {
|