-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters