diff --git a/account.html b/account.html index cc17df0..382124a 100644 --- a/account.html +++ b/account.html @@ -29,7 +29,6 @@

Username:

Pool:

VMID Range:

-

VLAN Tag:

Nodes:

diff --git a/scripts/account.js b/scripts/account.js index d5b5ea6..131b845 100644 --- a/scripts/account.js +++ b/scripts/account.js @@ -26,12 +26,11 @@ async function init() { goToPage("login.html"); } let resources = await requestAPI("/user/resources"); - let instances = await requestAPI("/user/config/instances"); + let instances = await requestAPI("/user/config/cluster"); let nodes = await requestAPI("/user/config/nodes"); document.querySelector("#username").innerText = `Username: ${getCookie("username")}`; document.querySelector("#pool").innerText = `Pool: ${instances.pool}`; document.querySelector("#vmid").innerText = `VMID Range: ${instances.vmid.min} - ${instances.vmid.max}`; - document.querySelector("#vlan").innerText = `VLAN Tag: ${instances.vlan}`; document.querySelector("#nodes").innerText = `Nodes: ${nodes.toString()}`; buildResourceTable(resources, "#resource-table"); }