mirror of https://github.com/minio/minio.git
disable settings change on browser in gateway mode (#4472)
This commit is contained in:
parent
976870a391
commit
6651c2fc5f
|
@ -234,6 +234,9 @@ func gatewayMain(ctx *cli.Context) {
|
|||
|
||||
router := mux.NewRouter().SkipClean(true)
|
||||
|
||||
// credentials Envs are set globally.
|
||||
globalIsEnvCreds = true
|
||||
|
||||
// Register web router when its enabled.
|
||||
if globalIsBrowserEnabled {
|
||||
aerr := registerWebRouter(router)
|
||||
|
|
Loading…
Reference in New Issue