diff --git a/frontend/src/main.js b/frontend/src/main.js index 3085bd6..acbd683 100644 --- a/frontend/src/main.js +++ b/frontend/src/main.js @@ -531,7 +531,7 @@ async function handleCallback() { loginOverlay.classList.add('hidden'); try { - const response = await fetch(`${API_URL}/auth/callback?code=${code}&redirect_uri=${encodeURIComponent(AUTH_CONFIG.redirectUri)}`); + const response = await fetch(`/auth/callback?code=${code}&redirect_uri=${encodeURIComponent(AUTH_CONFIG.redirectUri)}`); const data = await response.json(); if (data.access_token) {