diff --git a/cmd/common-main.go b/cmd/common-main.go index 737d2d660..835f861a1 100644 --- a/cmd/common-main.go +++ b/cmd/common-main.go @@ -139,6 +139,9 @@ func minioConfigToConsoleFeatures() { os.Setenv("CONSOLE_LOG_QUERY_AUTH_TOKEN", value) } } + if value := env.Get(config.EnvBrowserRedirectURL, ""); value != "" { + os.Setenv("CONSOLE_BROWSER_REDIRECT_URL", value) + } // pass the console subpath configuration if globalBrowserRedirectURL != nil { subPath := path.Clean(pathJoin(strings.TrimSpace(globalBrowserRedirectURL.Path), SlashSeparator))