mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
deprecate embedded browser (#12163)
https://github.com/minio/console takes over the functionality for the future object browser development Signed-off-by: Harshavardhana <harsha@minio.io>
This commit is contained in:
@@ -51,12 +51,8 @@ var globalHandlers = []mux.MiddlewareFunc{
|
||||
setAuthHandler,
|
||||
// Validates all incoming requests to have a valid date header.
|
||||
setTimeValidityHandler,
|
||||
// Adds cache control for all browser requests.
|
||||
setBrowserCacheControlHandler,
|
||||
// Validates if incoming request is for restricted buckets.
|
||||
setReservedBucketHandler,
|
||||
// Redirect some pre-defined browser request paths to a static location prefix.
|
||||
setBrowserRedirectHandler,
|
||||
// Adds 'crossdomain.xml' policy handler to serve legacy flash clients.
|
||||
setCrossDomainPolicy,
|
||||
// Limits all header sizes to a maximum fixed limit
|
||||
@@ -91,13 +87,6 @@ func configureServerHandler(endpointServerPools EndpointServerPools) (http.Handl
|
||||
registerDistErasureRouters(router, endpointServerPools)
|
||||
}
|
||||
|
||||
// Register web router when its enabled.
|
||||
if globalBrowserEnabled {
|
||||
if err := registerWebRouter(router); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
// Add Admin router, all APIs are enabled in server mode.
|
||||
registerAdminRouter(router, true, true)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user