-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(cors): Allow a custom validation function which receives the fu…
…ll gin context (#140) * Allow a origin validation function with context * Revert "Allow a origin validation function with context" This reverts commit 82827c2. * Allow origin validation function which receives the full request context * fix logic in conditional * add test, fix logic * slightly re-work to pass linter * update comments * restructure to shorten line lengths to pass linter * remove punctuation at the end of error string * Add multi-group preflight test * remove comment
- Loading branch information
Showing
3 changed files
with
128 additions
and
24 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
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
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