Skip to content

Commit

Permalink
added some changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Akshat2Jain committed Dec 10, 2023
1 parent c5093dc commit d5e9fb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ app.get(
const user = req.user;
if (user) {
const token = jwt.sign({ user }, "your-secret-key", { expiresIn: "1h" });
res.redirect(`http://localhost:3000/book-ride?token=${token}`);
res.redirect(`https://bookyourride.onrender.com/book-ride?token=${token}`);
} else {
console.log("user not found");
}
Expand Down

0 comments on commit d5e9fb7

Please sign in to comment.