From b245e246cf0596b735dccbec06a60b05ad2a68dd Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Wed, 3 Dec 2025 18:17:12 +0700 Subject: let me finish this --- frontend/status.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'frontend/status.js') 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}` })(); -- cgit v1.2.3