Change default page to home
This commit is contained in:
@@ -104,7 +104,7 @@ app.use(express.static('public')); */
|
||||
|
||||
// Redirect to the /login endpoint
|
||||
app.get('/', (req, res) => {
|
||||
res.redirect('/login');
|
||||
res.redirect('/home');
|
||||
});
|
||||
|
||||
// Render login page for /login route
|
||||
|
||||
Reference in New Issue
Block a user