Skip to content

Commit b1e4e8c

Browse files
mpsidolenzai
authored andcommitted
Not redirecting to cryptic-woodland-88390 anymore
1 parent 724464e commit b1e4e8c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ app.get('/:uuid', (req, res) => {
7474
});
7575

7676
app.get('/', (req, res) => {
77-
res.redirect('https://cryptic-woodland-88390.herokuapp.com/');
77+
res.render('home', {});
7878
});
7979

8080
const port = process.env.PORT || 1234;

views/home.ejs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<% include ./partials/header %>
2+
<% include ./partials/footer %>

0 commit comments

Comments
 (0)