From 29f961f80e8cf751707fafd771a1306c1ceeebe6 Mon Sep 17 00:00:00 2001 From: kyle Date: Mon, 5 Oct 2026 18:04:49 +0000 Subject: [PATCH] Delete config.js --- config.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 config.js diff --git a/config.js b/config.js deleted file mode 100644 index 9a5f73a..0000000 --- a/config.js +++ /dev/null @@ -1,15 +0,0 @@ -// Central runtime config. Kept as a static file so ops can change it without a build. -const params = new URLSearchParams(window.location.search); - -export const CONFIG = Object.freeze({ - apiBaseUrl: '/api/v1', - refreshIntervalMs: 60_000, - requestTimeoutMs: 15_000, - // A job whose next scheduled run is this far in the past is flagged "Overdue". - // Catches the silent failure mode: a job stops reporting and stays green forever. - overdueGraceMinutes: 30, - // Run history shown in the job modal (the API caps this at 30) - historyDays: 30, - // ?mock=1 → use in-browser sample data, no backend needed - useMock: params.has('mock'), -}); \ No newline at end of file