mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-08 06:55: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) {
|
} catch (err) {
|
||||||
res.status(400).json({
|
res.status(404).render('error', {
|
||||||
success: false,
|
message:'Page not found',
|
||||||
error: err,
|
status:404,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue