summaryrefslogtreecommitdiff
path: root/frontend/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/index.js')
-rw-r--r--frontend/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/index.js b/frontend/index.js
index 3141d50..f4f89b3 100644
--- a/frontend/index.js
+++ b/frontend/index.js
@@ -4,10 +4,9 @@
window.location.href = './timer/';
} else {
const urlCookie = await cookieStore.get("last_used_url");
- alert(urlCookie)
if (urlCookie) {
- window.location.href = `./start/?machine=${urlCookie}`;
+ window.location.href = `./start/?machine=${urlCookie.value}`;
} else {
window.location.href = './status/'
}