-
Notifications
You must be signed in to change notification settings - Fork 561
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow wildcards in
allowedOrigins
(#2458)
Allow wildcards in `allowedOrigins` by generating a RegExp based on each allowed origin and testing the origin against it. Closes #2457
- Loading branch information
1 parent
e95e670
commit 2919879
Showing
3 changed files
with
143 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"branches": 96.7, | ||
"functions": 98.72, | ||
"lines": 98.81, | ||
"statements": 94.79 | ||
"branches": 96.73, | ||
"functions": 98.75, | ||
"lines": 98.83, | ||
"statements": 94.85 | ||
} |
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