resolution connexions
Deploy Nexus Portal to HestiaCP (FTP) / build-and-deploy (push) Successful in 14s

This commit is contained in:
2026-06-12 21:51:34 +02:00
parent 9d1f6f533e
commit 9abab3c22c
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
# Ici, on force React à tirer sur le bon domaine une fois en ligne !
VITE_API_BASE_URL=https://web.gise.be
VITE_API_BASE_URL=https://web.gise.be/index.php?_url=
+4 -4
View File
@@ -29,18 +29,18 @@ const apiCall = async (url, body = null) => {
// ==========================================
export const loginClient = (email, password) =>
apiCall(`${BASE_URL}/index.php?_url=/api/guest/client/login`, { email, password });
apiCall(`${BASE_URL}/api/guest/client/login`, { email, password });
export const getClientProfile = () =>
apiCall(`${BASE_URL}/index.php?_url=/api/client/profile/get`);
apiCall(`${BASE_URL}/api/client/profile/get`);
// Récupère la liste des services/commandes du client
export const getClientOrders = () =>
apiCall(`${BASE_URL}/index.php?_url=/api/client/order/get_list`);
apiCall(`${BASE_URL}/api/client/order/get_list`);
// Récupère les détails techniques du service rattaché à une commande
export const getOrderService = (order_id) =>
apiCall(`${BASE_URL}/index.php?_url=/api/client/order/service`, { id: order_id });
apiCall(`${BASE_URL}/api/client/order/service`, { id: order_id });
// ==========================================
// ROUTES PERSONNALISÉES (CUSTOM API)