change /api/resources to /api/instance/resources

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2023-04-25 15:30:28 +00:00
parent 3e6c85e6bb
commit 8650ea4d2e

View File

@ -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