update client with new instance resource api path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
938741d429
commit
4b83cdaa77
@ -475,7 +475,7 @@ async function handleFormExit () {
|
|||||||
cores: document.querySelector("#Cores").value,
|
cores: document.querySelector("#Cores").value,
|
||||||
memory: document.querySelector("#Memory").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) {
|
if (result.status === 200) {
|
||||||
await getConfig();
|
await getConfig();
|
||||||
populateDisk();
|
populateDisk();
|
||||||
|
Loading…
Reference in New Issue
Block a user