diff --git a/index.js b/index.js index 6e81649..2bc1b6b 100644 --- a/index.js +++ b/index.js @@ -17,5 +17,9 @@ async function init () { let newNode = document.createElement("node-card"); newNode.data = nodes.data[i]; nodeContainer.append(newNode); + let qemu = await request(`/nodes/${nodes.data[i].node}/qemu`, "GET", null); + let lxc = await request(`/nodes/${nodes.data[i].node}/lxc`, "GET", null); + console.log(`${nodes.data[i].node} quemu: ${qemu}`); + console.log(`${nodes.data[i].node} lxc: ${lxc}`); } } \ No newline at end of file