Skip to content

Commit

Permalink
MGMT-16151: allow CORS HEAD for s3 presigned url, as UI uses prefligh…
Browse files Browse the repository at this point in the history
…t checks (#5671)

Signed-off-by: Riccardo piccoli <rpiccoli@redhat.com>
  • Loading branch information
rccrdpccl committed Nov 8, 2023
1 parent 71f3cc2 commit 7bd50c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/app/middleware.go
Expand Up @@ -65,6 +65,7 @@ func SetupCORSMiddleware(handler http.Handler, domains []string) http.Handler {
http.MethodPatch,
http.MethodPost,
http.MethodPut,
http.MethodHead,
},
AllowedOrigins: domains,
AllowedHeaders: []string{
Expand Down

0 comments on commit 7bd50c0

Please sign in to comment.