Skip to content

Commit

Permalink
Update authService.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
akroon3r authored Jul 10, 2024
1 parent 8e19852 commit 190b8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/services/authService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
}
};

Expand Down

0 comments on commit 190b8cb

Please sign in to comment.