diff options
-rw-r--r-- | index.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2,6 +2,7 @@ const express = require('express'); const path = require('path'); const exphbs = require('express-handlebars'); const logger = require('./middleware/logger.js'); +const members = require('./Members'); const app = express(); @@ -19,7 +20,8 @@ app.use(express.urlencoded({extended: false})); // Homepage Route app.get('/', (req, res) => res.render('index', { - title: 'Member App' + title: 'Member App', + members }) ); |