fix db module imports

This commit is contained in:
alu committed 2023-08-03 19:51:09 +00:00
1 parent 698f53314b
commit 7b80445cf0
4 files changed
+12 -8

No files matched your search

+1
View File
@@ -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);