diff options
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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'))); |