404 site views folder fix

This commit is contained in:
MrFry 2020-01-28 15:40:18 +01:00
parent da88bc0aa0
commit c1560a367d
5 changed files with 8 additions and 35 deletions

View file

@ -58,11 +58,11 @@ app.get('/', function (req, res) {
})
app.get('*', function (req, res) {
res.status(404).render('shared/404')
res.status(404).render('404')
})
app.post('*', function (req, res) {
res.status(404).render('shared/404')
res.status(404).render('404')
})
exports.app = app