update client with new instance resource api path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
7a4216e255
commit
927ae672a6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user