mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
Set Console Redirect URL env variable (#19683)
This commit is contained in:
parent
1e83f15e2f
commit
39633a5581
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user