use client api endpont for proxmox requests
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
a7a00043ae
commit
6866b4e8a0
@ -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;
|
||||
}
|
||||
|
||||
|
@ -1,2 +1 @@
|
||||
export const PVE = "https://proxmox.mydomain.example/api2/json"; // the proxmox web api
|
||||
export const API = "https://client.mydomain.example/api"; // the proxmox-aas api
|
Loading…
Reference in New Issue
Block a user