diff --git a/frontend/src/services/authService.tsx b/frontend/src/services/authService.tsx index 819951f4..f045d14c 100644 --- a/frontend/src/services/authService.tsx +++ b/frontend/src/services/authService.tsx @@ -6,7 +6,7 @@ export const handleAuthentication = async () => { const code = urlParams.get('code'); if (code) { console.log('code' + code); - await axios.post(`${import.meta.env.VITE_API_URL}/callback`, { code }); + await axios.post(`/api/callback`, { code }); } };