fix: editor flow
This commit is contained in:
1 parent
461f4a7e02
commit
366a835278
5 files changed
+44
-41
No files matched your search
@@ -98,7 +98,7 @@ router.get('/*', async (req, res, next) => {
|
||||
} else if (pageArgs.path === 'home') {
|
||||
res.render('welcome')
|
||||
} else {
|
||||
res.render('new', { pagePath: req.path })
|
||||
res.status(404).render('new', { pagePath: req.path })
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in new issue
Block a user