feat: redirect to localhost:3000
This commit is contained in:
@@ -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}` });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user