mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Qmining module redirect to /
This commit is contained in:
parent
355c0e353e
commit
9e110b23c0
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ app.get('/', function (req, res) {
|
|||
})
|
||||
|
||||
app.get('*', function (req, res) {
|
||||
res.status(404).render('404')
|
||||
res.redirect('/')
|
||||
res.end()
|
||||
// res.status(404).render('404')
|
||||
})
|
||||
|
||||
app.post('*', function (req, res) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue