From e8c1461e636572cef9ca60a9439aa43e2fc00cf4 Mon Sep 17 00:00:00 2001 From: Angela Quinton Date: Sun, 12 Mar 2023 18:02:57 -0400 Subject: [PATCH] pass in req and res --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index cce4da4..53417b1 100644 --- a/app.js +++ b/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 } ) })