diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-03 18:17:12 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-03 18:17:12 +0700 |
| commit | b245e246cf0596b735dccbec06a60b05ad2a68dd (patch) | |
| tree | 8e94fca2966e0dc808462d72f23b129a0edc91a0 | |
| parent | 0a51e62dc7484f4f6d81f728acfcb57ce5d8f2dd (diff) | |
let me finish this
| -rw-r--r-- | frontend/status.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/frontend/status.js b/frontend/status.js index 3922317..a64e9d0 100644 --- a/frontend/status.js +++ b/frontend/status.js @@ -1,7 +1,8 @@ startUpdateMachines(); (async () => { - const blk = await information(); + const urlParams = new URLSearchParams(window.location.search); + const blk = await information(urlParams.get("machine")); blk = blk ? '?' : blk; document.getElementById("status-title").innerHTML = `Machine Status for H${blk}` })(); |
