How to make "Not found page" with "routing-controllers"? #1476
Unanswered
TokugawaTakeshi
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The problem is the route
*
is always being mapped before/
that is why the top page is unreachable.Here is the routes list printed by express-list-routes:
However the
TopPageController
going first and theNotFoundPageController
going last:The controllers are:
How to correctly provide the "Not found" page?
Beta Was this translation helpful? Give feedback.
All reactions