diff --git a/serve.js b/serve.js index 6f48fe19..383b9b15 100644 --- a/serve.js +++ b/serve.js @@ -244,7 +244,7 @@ app.get('/', async (req, res) => { if (req.session.username || req.session.nologin) { res.sendFile(__dirname + '/public/home.html'); } else { - res.redirect('/login.html'); + res.redirect('/login'); } });