use client api endpont for proxmox requests

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
2023-02-24 22:25:36 +00:00
parent a7a00043ae
commit 6866b4e8a0
2 changed files with 1 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ export async function requestPVE (path, method, body = null) {
content.headers.CSRFPreventionToken = getCookie("CSRFPreventionToken");
}
let response = await request(`${PVE}${path}`, content);
let response = await request(`${API}/proxmox${path}`, content);
return response;
}