summaryrefslogtreecommitdiff
path: root/frontend/index.js
diff options
context:
space:
mode:
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/'