parent
25349c33e3
commit
3d22ec6733
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue