From 4b83cdaa771df37c31410455314b8f6b8c882911 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 25 Apr 2023 15:32:34 +0000 Subject: [PATCH] update client with new instance resource api path Signed-off-by: Arthur Lu --- scripts/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();