From 8650ea4d2ecc86a950d2220e588f0eba81ad2fee Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Tue, 25 Apr 2023 15:30:28 +0000 Subject: [PATCH] change /api/resources to /api/instance/resources Signed-off-by: Arthur Lu --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 0384f0f..833c256 100644 --- a/main.js +++ b/main.js @@ -189,7 +189,7 @@ app.post("/api/instance/disk/create", async (req, res) => { await handleResponse(req.body.node, result, res); }); -app.post("/api/resources", async (req, res) => { +app.post("/api/instance/resources", async (req, res) => { // check auth await checkAuth(req.cookies, res); // get current config