change /api/resources to /api/instance/resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
096dfb10e0
commit
631237d857
2
main.js
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user