Add CORS support to minio s3 server

This commit is contained in:
Krishna Srinivas committed 2015-08-31 16:59:52 -07:00
1 parent d5d4c7046f
commit 1e82ee1192
2 files changed
+6

No files matched your search

+1
View File
@@ -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
)