Skip to content

Commit

Permalink
Updated Default Route
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantdixit committed Oct 13, 2022
1 parent 29cb7e5 commit 0159ae6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});


Expand Down
2 changes: 1 addition & 1 deletion views/login.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">

- title = "Login"
- title = "LinkStack"
include partials/header.pug

<body class="text-center">
Expand Down

0 comments on commit 0159ae6

Please sign in to comment.