fix bug with login logic
This commit is contained in:
parent
5d5f30d78e
commit
20b27f51db
1 changed files with 1 additions and 1 deletions
|
@ -287,7 +287,7 @@ async function getapiurls(str: string): Promise<
|
|||
}/policies/instance/domains`
|
||||
).then(x=>x.json());
|
||||
return{
|
||||
api: info.apiEndpoint,
|
||||
api: info.apiEndpoint+(url.pathname.includes("api") ? "" : "/api"),
|
||||
gateway: info.gateway,
|
||||
cdn: info.cdn,
|
||||
wellknown: str,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue