mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-07 14:35:26 +02:00
replace repose of aliases with error page
This commit is contained in:
parent
f05eb15b72
commit
f16a5cbedf
1 changed files with 3 additions and 3 deletions
|
@ -46,9 +46,9 @@ router.get('*', verifyToken, async (req: Request, res: Response) => {
|
|||
}
|
||||
}
|
||||
} catch (err) {
|
||||
res.status(400).json({
|
||||
success: false,
|
||||
error: err,
|
||||
res.status(404).render('error', {
|
||||
message:'Page not found',
|
||||
status:404,
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue