Skip to content

Commit

Permalink
Merge pull request #19631 from influxdata/fix/CORS_allows_patch_v1
Browse files Browse the repository at this point in the history
fix(CORS): allow PATCH
  • Loading branch information
sranka authored Sep 24, 2020
2 parents fb98ce6 + e8f7b78 commit b8ca6f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/httpd/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -1890,6 +1890,7 @@ func cors(inner http.Handler) http.Handler {
`OPTIONS`,
`POST`,
`PUT`,
`PATCH`,
}, ", "))

w.Header().Set(`Access-Control-Allow-Headers`, strings.Join([]string{
Expand Down

0 comments on commit b8ca6f9

Please sign in to comment.