diff --git a/scripts/config.js b/scripts/config.js index bdf9609..7e876b9 100644 --- a/scripts/config.js +++ b/scripts/config.js @@ -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();