Skip to content

Commit

Permalink
Update user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yadavshubham01 authored Nov 30, 2024
1 parent 16f22c7 commit 2d0eb06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/routes/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ router.get("/google/callback", passport.authenticate("google", {
failureRedirect: '/', // Redirect if authentication fails
}), (req, res) => {
// Successful authentication, redirect home or send token
res.redirect("http://localhost:5173/dashboard"); // Redirect to your frontend
res.redirect("https://mate-x.vercel.app/dashboard"); // Redirect to your frontend
});

router.get('/all', async (req, res) => {
Expand Down

0 comments on commit 2d0eb06

Please sign in to comment.