Fix: wrong url for AuthContext component

This commit is contained in:
Jose
2026-02-14 19:33:15 +01:00
parent abe50d6d1c
commit ae28f4cc36

View File

@@ -25,7 +25,7 @@ export const AuthProvider = ({ children }) => {
return; return;
} }
const BASE_URL = config.apiConfig.coreUrl; const BASE_URL = config.apiConfig.baseUrl;
const VALIDATE_URL = `${BASE_URL}${config.apiConfig.endpoints.auth.validateToken}`; const VALIDATE_URL = `${BASE_URL}${config.apiConfig.endpoints.auth.validateToken}`;
const checkAuth = async () => { const checkAuth = async () => {