-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 - Global middleware can now be defined. This allows middleware to execute even when no route is found. This can be useful for things like CORS which should likely answer an OPTIONS request even on a not found. 2 - When adding middleware to a route, you can now pick between an "append" or "replace" strategy. This controls how/if the middleware for a route are appended or replace the middleware for a group and then up the chain to the global. #67
- Loading branch information
1 parent
30195d6
commit a5efb4e
Showing
2 changed files
with
292 additions
and
107 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
Oops, something went wrong.