Skip to content

Commit b52fd0b

Browse files
author
codingChewie
committed
Handling /cards remaining requests
1 parent 1cde09d commit b52fd0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

routes/cards.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,6 @@ router.get('/:foo/:bar', (req, res) => {
4545
})
4646
})
4747

48+
router.get('*', (req, res) => res.redirect('/'))
49+
4850
module.exports = router

0 commit comments

Comments
 (0)