Commit c323a890 authored by nanahira's avatar nanahira

remove unused api

parent 665e7220
......@@ -30,7 +30,7 @@ export class LobbyComponent implements OnInit {
@ViewChild('search')
search: ElementRef;
private messages: WebSocket;
//private messages: WebSocket;
constructor(private appsService: AppsService, private loginService: LoginService,
private settingsService: SettingsService, private ref: ChangeDetectorRef) {
......@@ -58,7 +58,7 @@ export class LobbyComponent implements OnInit {
}
this.ref.detectChanges();
let url = new URL('wss://api.moecube.com:3100');
/* let url = new URL('wss://api.moecube.com:3100');
let params: URLSearchParams = url.searchParams;
params.set('user_id', this.loginService.user.email);
this.messages = new ReconnectingWebSocket(url);
......@@ -67,7 +67,7 @@ export class LobbyComponent implements OnInit {
console.log(data);
this.apps = await this.appsService.loadApps();
this.currentApp = this.apps.get(this.currentApp.id)!;
};
}; */
// $(this.search.nativeElement).typeahead(<any>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment