-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(middleware/cors): Add support for Access-Control-Allow-Private-N…
…etwork (#2908) * Add support for Access-Control-Allow-Private-Network in CORS middleware * Access-Control-Allow-Private-Network in CORS middleware documentation update * Access-Control-Allow-Private-Network in CORS middleware tests * Fix lint issues * Fix formatting * Rename config option, add more unit-tests * Fix syntax issue * Fix conditional * Fix formatting, add more unit-tests * chore(middleware/cors): Update middleware/cors/cors.go * chore(middleware/cors): add HeaderAccessControlRequestPrivateNetowkr * test(middleware/cors): fix CORS headers * docs(middleware/cors): table order and alignment --------- Co-authored-by: Juan Calderon-Perez <[email protected]> Co-authored-by: Juan Calderon-Perez <[email protected]> Co-authored-by: Jason McNeil <[email protected]>
- Loading branch information
1 parent
7fa8b2d
commit 5e8df0a
Showing
4 changed files
with
260 additions
and
137 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.
5e8df0a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold
2
.Benchmark_Etag
199.7
ns/op 0 B/op 0 allocs/op97.85
ns/op 0 B/op 0 allocs/op2.04
Benchmark_Middleware_Favicon
211.8
ns/op 12 B/op 4 allocs/op88.92
ns/op 3 B/op 1 allocs/op2.38
This comment was automatically generated by workflow using github-action-benchmark.