Skip to content

Commit

Permalink
Error page enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
saira512dev committed Aug 28, 2022
1 parent b610956 commit c303ed0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ router.get('/search/:query', ensureAuth, async (req, res) => {
res.render('stories/index', { stories })
} catch(err){
console.log(err)
//res.render('error/500')
res.render('error/404')
}
})

Expand Down

0 comments on commit c303ed0

Please sign in to comment.