update client with new instance resource api path

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-04-25 15:32:34 +00:00
parent 938741d429
commit 4b83cdaa77

View File

@ -475,7 +475,7 @@ async function handleFormExit () {
cores: document.querySelector("#Cores").value,
memory: document.querySelector("#Memory").value
}
let result = await requestAPI("/resources", "POST", body);
let result = await requestAPI("/instance/resources", "POST", body);
if (result.status === 200) {
await getConfig();
populateDisk();