mirror of
https://github.com/pgsty/minio.git
synced 2026-08-07 08:11:13 +03:00
Add CORS support to minio s3 server
This commit is contained in:
@@ -85,6 +85,7 @@ func registerCustomMiddleware(mux http.Handler, conf api.Config) http.Handler {
|
||||
api.IgnoreResourcesHandler,
|
||||
api.ValidateAuthHeaderHandler,
|
||||
api.LoggingHandler,
|
||||
api.CorsHandler,
|
||||
// Add new your new middleware here
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user