Prompt for terms of service on integration manager changes
Part of https://github.com/vector-im/riot-web/issues/10539
This commit is contained in:
parent
ded2297523
commit
27504e1578
5 changed files with 122 additions and 37 deletions
|
@ -40,7 +40,14 @@ export class IntegrationManagerInstance {
|
|||
|
||||
get name(): string {
|
||||
const parsed = url.parse(this.uiUrl);
|
||||
return parsed.hostname;
|
||||
return parsed.host;
|
||||
}
|
||||
|
||||
get trimmedApiUrl(): string {
|
||||
const parsed = url.parse(this.apiUrl);
|
||||
parsed.pathname = '';
|
||||
parsed.path = '';
|
||||
return parsed.format();
|
||||
}
|
||||
|
||||
getScalarClient(): ScalarAuthClient {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue