mirror of
https://github.com/minio/minio.git
synced 2025-11-06 20:33:07 -05: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