From 83fe1a273241764f725b14e3199e7a6d1609647a Mon Sep 17 00:00:00 2001 From: jiuker <2818723467@qq.com> Date: Wed, 22 Feb 2023 22:24:05 +0800 Subject: [PATCH] log: add more info about BROWSER_URL (#16678) --- cmd/common-main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/common-main.go b/cmd/common-main.go index 6a86c5177..a8bfa9511 100644 --- a/cmd/common-main.go +++ b/cmd/common-main.go @@ -639,7 +639,7 @@ func handleCommonEnvVars() { if !((u.Scheme == "http" || u.Scheme == "https") && u.Opaque == "" && !u.ForceQuery && u.RawQuery == "" && u.Fragment == "") { - err := fmt.Errorf("URL contains unexpected resources, expected URL to be of http(s)://minio.example.com format: %v", u) + err := fmt.Errorf("URL contains unexpected resources, expected URL to be one of http(s)://console.example.com or as a subpath via API endpoint http(s)://minio.example.com/minio format: %v", u) logger.Fatal(err, "Invalid MINIO_BROWSER_REDIRECT_URL value is environment variable") } globalBrowserRedirectURL = u