change /api/resources to /api/instance/resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
3e6c85e6bb
commit
8650ea4d2e
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