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

This commit is contained in:
2026-06-12 20:28:29 +02:00
parent ef770fab92
commit 00de9ce088
2 changed files with 5 additions and 6 deletions
-1
View File
@@ -1,4 +1,3 @@
// src/pages/public/Login.jsx
import { useState } from 'react';
import { useNavigate, Link } from 'react-router-dom';
import { loginClient } from '../../services/api';
+5 -5
View File
@@ -17,23 +17,23 @@ const apiCall = async (url, body = {}) => {
};
export const loginClient = (email, password) =>
apiCall('/api/guest/client/login', { email, password });
apiCall('https://web.gise.be/api/guest/client/login', { email, password });
export const getClientProfile = () =>
apiCall('/api/client/profile/get');
apiCall('https://web.gise.be/api/client/profile/get');
// Récupère la liste des services/commandes du client
export const getClientOrders = () =>
apiCall('/api/client/order/get_list');
apiCall('https://web.gise.be/api/client/order/get_list');
// Récupère les détails techniques du service rattaché à une commande
export const getOrderService = (order_id) =>
apiCall('/api/client/order/service', { id: order_id });
apiCall('https://web.gise.be/api/client/order/service', { id: order_id });
// Fonction d'inscription unifiee pour créer un compte client et commander un service en une seule étape
export const registerUnifiedClient = async (email, username, password, firstName, lastName) => {
try {
const response = await fetch('/custom_api/signup.php', {
const response = await fetch('https://web.gise.be/custom_api/signup.php', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({