diff --git a/client/src/App.js b/client/src/App.js index fa4d222..e772be9 100644 --- a/client/src/App.js +++ b/client/src/App.js @@ -19,7 +19,7 @@ function App() { }> } />} /> - } />} /> + } />} /> }> }> }> diff --git a/client/src/Pages/Navbar.jsx b/client/src/Pages/Navbar.jsx index 7271eab..f7712be 100644 --- a/client/src/Pages/Navbar.jsx +++ b/client/src/Pages/Navbar.jsx @@ -7,7 +7,7 @@ const Navbar = () => { return (
- + Appointment To Examiner diff --git a/server/server.js b/server/server.js index 1d95dfc..c203c40 100644 --- a/server/server.js +++ b/server/server.js @@ -74,7 +74,7 @@ app.get( const token = jwt.sign({ userId: req.user._id }, process.env.JWT_SECRET, { expiresIn: "1h" }); // Set token as a cookie or send it in the response res.cookie("token", token, { httpOnly: false, secure: false }); - res.redirect("http://localhost:3000/Welcom"); // Redirect to a frontend route after successful login + res.redirect("http://localhost:3000/Welcome"); // Redirect to a frontend route after successful login } );