fix(CORS): allow PATCH
parent
fb98ce63ec
commit
e8f7b78d68
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue