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 7a4216e255
commit 927ae672a6

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();