[WIP] multiple servers
This commit is contained in:
15
src/app/home/home-6.module.ts
Normal file
15
src/app/home/home-6.module.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { IonicModule } from '@ionic/angular';
|
||||
import { HomePage } from './home.page';
|
||||
|
||||
import { HomePageRoutingModule } from './home-routing.module';
|
||||
import { Socket } from 'ngx-socket-io';
|
||||
import { SocketSix } from '../app.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule, IonicModule, HomePageRoutingModule],
|
||||
declarations: [HomePage],
|
||||
providers: [{provide: Socket, useClass: SocketSix}]
|
||||
})
|
||||
export class HomePageModule6 {}
|
||||
Reference in New Issue
Block a user