Skip to content

Commit

Permalink
Authentication #66: changed the redirect routes because after logging…
Browse files Browse the repository at this point in the history
… in we were not taken to the home page like we wanted
  • Loading branch information
ibhattacharj committed Dec 13, 2024
1 parent 78c8b92 commit e257e34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/authentication/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ router.get(
router.get(
"/auth/google/callback",
passport.authenticate("google", {
successRedirect: "/home",
failureRedirect: "/"
successRedirect: "http://127.0.0.1:5500/frontend/source/index.html",
failureRedirect: "http://127.0.0.1:4000/",
})
);

Expand Down
Binary file modified backend/database.sqlite
Binary file not shown.

0 comments on commit e257e34

Please sign in to comment.