Show baseUrl when rootUrl is not set (#2285)
This commit is contained in:
parent
95a23f12a9
commit
219e239c89
1 changed files with 4 additions and 3 deletions
|
@ -191,14 +191,15 @@ export default function ClientsSection() {
|
|||
!client.rootUrl.startsWith("http") ||
|
||||
client.rootUrl.includes("$")
|
||||
) {
|
||||
client.rootUrl =
|
||||
return (
|
||||
client.rootUrl
|
||||
.replace("${authBaseUrl}", baseUrl)
|
||||
.replace("${authAdminUrl}", baseUrl) +
|
||||
(client.baseUrl ? client.baseUrl.substr(1) : "");
|
||||
(client.baseUrl ? client.baseUrl.substring(1) : "")
|
||||
);
|
||||
}
|
||||
}
|
||||
return client.rootUrl;
|
||||
return client.baseUrl;
|
||||
},
|
||||
},
|
||||
]}
|
||||
|
|
Loading…
Reference in a new issue