Use MinIO console v1.7.1 (#20465)

This commit is contained in:
Ramon de Klein
2024-09-21 03:18:54 +02:00
committed by GitHub
parent ade8925155
commit 3d152015eb
4 changed files with 13 additions and 9 deletions

View File

@@ -138,6 +138,9 @@ func minioConfigToConsoleFeatures() {
if value := env.Get(config.EnvBrowserRedirectURL, ""); value != "" {
os.Setenv("CONSOLE_BROWSER_REDIRECT_URL", value)
}
if value := env.Get(config.EnvConsoleDebugLogLevel, ""); value != "" {
os.Setenv("CONSOLE_DEBUG_LOGLEVEL", value)
}
// pass the console subpath configuration
if globalBrowserRedirectURL != nil {
subPath := path.Clean(pathJoin(strings.TrimSpace(globalBrowserRedirectURL.Path), SlashSeparator))