Skip to content

Commit 89ec1af

Browse files
Fixed When the MINIO_BROWSER_REDIRECT_URL parameter contains path, the console cannot be accessed normally.
1 parent b753597 commit 89ec1af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

restapi/configure_console_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ func Test_parseSubPath(t *testing.T) {
5959
args: args{
6060
v: "route",
6161
},
62-
want: "/route",
62+
want: "/route/",
6363
},
6464
{
6565
name: "No trailing slashes",
6666
args: args{
6767
v: "/route",
6868
},
69-
want: "/route",
69+
want: "/route/",
7070
},
7171
}
7272
for _, tt := range tests {

0 commit comments

Comments
 (0)