diff options
Diffstat (limited to 'ui/src/app/app.module.ts')
-rw-r--r-- | ui/src/app/app.module.ts | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ui/src/app/app.module.ts b/ui/src/app/app.module.ts index 126de30..5f70069 100644 --- a/ui/src/app/app.module.ts +++ b/ui/src/app/app.module.ts @@ -3,14 +3,12 @@ import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { HttpClientModule } from '@angular/common/http'; -import { SocketIoModule, SocketIoConfig } from 'ngx-socket-io'; import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { AppComponent } from './app.component'; import { EtaPipe, SpeedPipe } from './downloads.pipe'; import { MasterCheckboxComponent, SlaveCheckboxComponent } from './master-checkbox.component'; - -const config: SocketIoConfig = { url: '', options: {} }; +import { MeTubeSocket } from './metube-socket'; @NgModule({ declarations: [ @@ -25,10 +23,9 @@ const config: SocketIoConfig = { url: '', options: {} }; FormsModule, NgbModule, HttpClientModule, - SocketIoModule.forRoot(config), FontAwesomeModule ], - providers: [], + providers: [MeTubeSocket], bootstrap: [AppComponent] }) export class AppModule { } |