Skip to content

Commit

Permalink
Fix typo in cors.go (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunglas authored and kisielk committed Jul 17, 2018
1 parent 13a38d2 commit 6257a58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (ch *cors) ServeHTTP(w http.ResponseWriter, r *http.Request) {
} else {
for _, o := range ch.allowedOrigins {
// A configuration of * is different than explicitly setting an allowed
// origin. Returning arbitrary origin headers an an access control allow
// origin. Returning arbitrary origin headers in an access control allow
// origin header is unsafe and is not required by any use case.
if o == corsOriginMatchAll {
returnOrigin = "*"
Expand Down

0 comments on commit 6257a58

Please sign in to comment.