diff --git a/app.js b/app.js index b172afd..e5ec2f5 100644 --- a/app.js +++ b/app.js @@ -81,7 +81,7 @@ app.get("/", async (req, res) => { app.use('/dashboard',require('./server/routes/router')); app.get("/", (req, res) => { - res.render('index'); + res.redirect('/login'); }); diff --git a/views/login.pug b/views/login.pug index 7f8e82c..8b938bc 100644 --- a/views/login.pug +++ b/views/login.pug @@ -1,7 +1,7 @@ - - title = "Login" + - title = "LinkStack" include partials/header.pug