fix db module imports
This commit is contained in:
1 parent
698f53314b
commit
7b80445cf0
4 files changed
+12
-8
No files matched your search
@@ -8,6 +8,7 @@ const requestPVE = global.pve.requestPVE;
|
||||
* request and responses passed through to/from proxmox
|
||||
*/
|
||||
router.get("/*", async (req, res) => { // proxy endpoint for GET proxmox api with no token
|
||||
console.log(req.url);
|
||||
const path = req.url.replace("/api/proxmox", "");
|
||||
const result = await requestPVE(path, "GET", req.cookies);
|
||||
res.status(result.status).send(result.data);
|
||||
|
||||
Reference in new issue
Block a user