mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
404 site views folder fix
This commit is contained in:
parent
da88bc0aa0
commit
c1560a367d
5 changed files with 8 additions and 35 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue