fix(CORS): allow PATCH

pull/19631/head
Pavel Zavora 2020-09-24 11:55:22 +02:00
parent fb98ce63ec
commit e8f7b78d68
1 changed files with 1 additions and 0 deletions

View File

@ -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{