From 87afb6ede0ab6cfcba040c929ef6931f2e69b01e Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 11 Jan 2026 22:21:53 +0800 Subject: oops --- frontend/index.js | 2 +- frontend/start.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/index.js b/frontend/index.js index 7dc741e..e9de180 100644 --- a/frontend/index.js +++ b/frontend/index.js @@ -6,7 +6,7 @@ const urlCookie = await cookieStore.get("last_used_url"); if (urlCookie) { - window.location.href = `./start/?machine_id=${urlCookie}`; + window.location.href = `./start/?machine=${urlCookie}`; } else { window.location.href = './status/' } diff --git a/frontend/start.js b/frontend/start.js index 37af330..529c7a8 100644 --- a/frontend/start.js +++ b/frontend/start.js @@ -51,7 +51,7 @@ startbtn.addEventListener("click", () => { }); function rememberUrl() { - machineId = urlParams.get('machine_id'); + machineId = urlParams.get('machine'); minutesDelta = 5; expirationDate = new Date(new Date().getTime() + minutesDelta * 60000);; cookieStore.set({ -- cgit v1.2.3