fix bug with login logic
This commit is contained in:
@@ -287,7 +287,7 @@ async function getapiurls(str: string): Promise<
|
|||||||
}/policies/instance/domains`
|
}/policies/instance/domains`
|
||||||
).then(x=>x.json());
|
).then(x=>x.json());
|
||||||
return{
|
return{
|
||||||
api: info.apiEndpoint,
|
api: info.apiEndpoint+(url.pathname.includes("api") ? "" : "/api"),
|
||||||
gateway: info.gateway,
|
gateway: info.gateway,
|
||||||
cdn: info.cdn,
|
cdn: info.cdn,
|
||||||
wellknown: str,
|
wellknown: str,
|
||||||
|
Reference in New Issue
Block a user