Brozy123 commited on
Commit
8748b5f
·
verified ·
1 Parent(s): 2fc0acf

Update server.js

Browse files
Files changed (1) hide show
  1. server.js +3 -1
server.js CHANGED
@@ -168,7 +168,9 @@ async function handleOAuthCallback(req, res) {
168
  console.error('[Dashboard] OAuth error:', err);
169
  res.redirect('/?error=server_error');
170
  }
171
- });
 
 
172
 
173
  // --- Check Auth Status ---
174
  app.get('/api/me', (req, res) => {
 
168
  console.error('[Dashboard] OAuth error:', err);
169
  res.redirect('/?error=server_error');
170
  }
171
+ }
172
+ app.get('/callback', handleOAuthCallback);
173
+ app.get('/auth/callback', handleOAuthCallback);
174
 
175
  // --- Check Auth Status ---
176
  app.get('/api/me', (req, res) => {