Skip to content

Commit 107a946

Browse files
committed
API '/' route now renders an html view
1 parent e087ab1 commit 107a946

File tree

5 files changed

+850
-972
lines changed

5 files changed

+850
-972
lines changed

app/routes/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fs.readdirSync(routesPath).filter(file => {
2525
* Setup routes for index
2626
*/
2727
router.get('/', (req, res) => {
28-
res.send('API Home')
28+
res.render('index')
2929
})
3030

3131
/*

0 commit comments

Comments
 (0)