Spaces:
Runtime error
Runtime error
Update routes/index.js
Browse files- routes/index.js +6 -0
routes/index.js
CHANGED
@@ -16,4 +16,10 @@ router.post('/talk', function(req, res, next) {
|
|
16 |
|
17 |
});
|
18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
module.exports = router;
|
|
|
16 |
|
17 |
});
|
18 |
|
19 |
+
|
20 |
+
/* GET home page. */
|
21 |
+
router.get('/', function(req, res, next) {
|
22 |
+
res.render('index', { title: 'Express' });
|
23 |
+
});
|
24 |
+
|
25 |
module.exports = router;
|