-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Add AllowOrigin enum * fix build_preflight_request * feat: Add to handle origin method * feat: Add origin validation * test: Add test code * refactor: Rename AllowOrigin to CorsOrigin * refactor: cargo fmt + fix clippy * Update tide-cors/src/middleware.rs Co-Authored-By: Yoshua Wuyts <[email protected]> * Update tide-cors/src/middleware.rs Co-Authored-By: Yoshua Wuyts <[email protected]>
- Loading branch information
1 parent
b77a242
commit 9a9b10a
Showing
4 changed files
with
158 additions
and
20 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
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