Skip to content

Commit

Permalink
fix(CORS): allow PATCH
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Sep 24, 2020
1 parent fb98ce6 commit e8f7b78
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 e8f7b78

Please sign in to comment.