summaryrefslogtreecommitdiff
path: root/frontend/index.js
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2026-01-23 09:50:33 +0800
committeraltaf-creator <dev@altafcreator.com>2026-01-23 09:50:33 +0800
commite5d96d19292224ea9513e145b02e35338eff0857 (patch)
tree1ef0e0f362b1bbcddd661f19e22493282fd49316 /frontend/index.js
parentaab0cbcfcd8699c9715196b2d2b948011be58642 (diff)
machine override status
Diffstat (limited to 'frontend/index.js')
-rw-r--r--frontend/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/index.js b/frontend/index.js
index f4f89b3..12f1e97 100644
--- a/frontend/index.js
+++ b/frontend/index.js
@@ -5,7 +5,7 @@
} else {
const urlCookie = await cookieStore.get("last_used_url");
- if (urlCookie) {
+ if (urlCookie && urlCookie != null && urlCookie != "null") {
window.location.href = `./start/?machine=${urlCookie.value}`;
} else {
window.location.href = './status/'