pass in req and res
This commit is contained in:
parent
260aa73561
commit
e8c1461e63
1 changed files with 1 additions and 1 deletions
2
app.js
2
app.js
|
@ -16,7 +16,7 @@ app.use(express.static('dist'))
|
|||
|
||||
const siteName = "Pronoun Site"
|
||||
|
||||
app.get('/', () => {
|
||||
app.get('/', (req, res) => {
|
||||
const pageTitle = siteName;
|
||||
res.render('home', { siteName, pageTitle } )
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue