diff options
| author | altaf-creator <dev@altafcreator.com> | 2026-01-11 22:21:53 +0800 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2026-01-11 22:21:53 +0800 |
| commit | 87afb6ede0ab6cfcba040c929ef6931f2e69b01e (patch) | |
| tree | a70924bbb68c17b7f75889b3e68d36eb5056570f | |
| parent | 9cc33efc78cd9dce97bf14652ec5231a4896d3c9 (diff) | |
oops
| -rw-r--r-- | frontend/index.js | 2 | ||||
| -rw-r--r-- | 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({ |
