diff options
Diffstat (limited to 'frontend')
| -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}` })(); |
