feat: redirect to localhost:3000

This commit is contained in:
karishmas6
2024-10-16 22:34:31 +05:30
parent 35befca558
commit e380904ad9

View File

@@ -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}` });
}