aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/index.js b/index.js
index faad613..a2f0b94 100644
--- a/index.js
+++ b/index.js
@@ -17,7 +17,11 @@ app.use(express.json());
app.use(express.urlencoded({extended: false}));
// Homepage Route
-app.get('/', (req, res) => res.render('index'));
+app.get('/', (req, res) =>
+ res.render('index', {
+ title: 'Member App'
+ })
+);
// Set static directory
app.use(express.static(path.join(__dirname, 'public')));