Skip to content

Commit

Permalink
perf: remove kael
Browse files Browse the repository at this point in the history
  • Loading branch information
feng626 committed Apr 26, 2024
1 parent 78c6e1a commit 41ba9ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ export class ElementConnectorDefaultComponent implements OnInit {
return url;
case 'lion':
return `${endpointUrl}/lion/connect?token=${token}`;
case 'kael':
return `${endpointUrl}/kael/connect?token=${token}`;
case 'default':
return `${endpointUrl}/koko/connect?token=${token}`;
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/monitor/monitor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class PagesMonitorComponent implements OnInit {

async generateMonitorURL() {
this.sessionDetail = await this._http.getSessionDetail(this.sessionID);
const supportedType = ['koko', 'lion', 'chen', 'kael'];
const supportedType = ['koko', 'lion', 'chen'];
const isSupportComponent = supportedType.includes(this.sessionDetail.terminal.type);
const isNormalSession = this.sessionDetail.type.value === 'normal';
this.supportedLock = isSupportComponent && isNormalSession;
Expand Down

0 comments on commit 41ba9ea

Please sign in to comment.