diff --git a/pkg/controller/router.go b/pkg/controller/router.go index 5a15f9074..db38bf241 100644 --- a/pkg/controller/router.go +++ b/pkg/controller/router.go @@ -21,7 +21,6 @@ import ( router "github.com/gorilla/mux" "github.com/minio/minio/pkg/rpc" - "github.com/rs/cors" ) // getRPCHandler rpc handler @@ -40,5 +39,5 @@ func getRPCHandler() http.Handler { // registerRPC - register rpc handlers func registerRPC(mux *router.Router, s *rpc.Server) http.Handler { mux.Handle("/rpc", s) - return cors.Default().Handler(mux) + return mux }