/ restx Public
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
provides a default route to handle 404 response in prod mode
The factory was listing all the existing endpoints if no route was found for a request. By defining this new route, which match all kind of request, we will bypass the `RestxMainRouterFactory`. This route is only activated in "prod" mode, as the listing might be useful during development.
- Loading branch information
Showing 1 changed file with 33 additions and 0 deletions.