From 85afbb89dd1ab32583b77a530f14c338fff0b29d Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Fri, 9 Jan 2026 22:11:10 +0800 Subject: ajkhfsdjhkfdsa --- frontend/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 frontend/index.js (limited to 'frontend/index.js') diff --git a/frontend/index.js b/frontend/index.js new file mode 100644 index 0000000..a392eb8 --- /dev/null +++ b/frontend/index.js @@ -0,0 +1,8 @@ +(async () => { + const timers = await fetchTimers(); + if (Array.isArray(timers[1]) && timers[1].length > 0) { + window.location.href = './timer/'; + } else { + window.location.href = './status/'; + } +})(); -- cgit v1.2.3