From e380904ad9832758e81da1eff9d1be683b6778c6 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Wed, 16 Oct 2024 22:34:31 +0530 Subject: [PATCH] feat: redirect to localhost:3000 --- server/src/routes/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts index 95889ead..42c463b6 100644 --- a/server/src/routes/auth.ts +++ b/server/src/routes/auth.ts @@ -242,6 +242,7 @@ router.get('/google/callback', requireSignIn, async (req, res) => { jwtToken, files }); + res.redirect('http://localhost:3000'); } catch (error: any) { res.status(500).json({ message: `Google OAuth error: ${error.message}` }); }