introduce MINIO_BROWSER_REDIRECT env to enable/disable auto-redirect (#18025)

This commit is contained in:
Harshavardhana
2023-09-13 18:43:57 -07:00
committed by GitHub
parent ed2c2a285f
commit 32890342ce
4 changed files with 7 additions and 2 deletions

View File

@@ -152,6 +152,9 @@ var (
// and it is automatically deduced.
globalBrowserRedirectURL *xnet.URL
// Disable redirect, default is enabled.
globalBrowserRedirect bool
// This flag is set to 'true' when MINIO_UPDATE env is set to 'off'. Default is false.
globalInplaceUpdateDisabled = false