[WIP] multiple servers
This commit is contained in:
16
src/app/home/home-5.module.ts
Normal file
16
src/app/home/home-5.module.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
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 { SocketFive } from '../app.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule, IonicModule, HomePageRoutingModule],
|
||||
declarations: [HomePage],
|
||||
providers: [{provide: Socket, useClass: SocketFive}]
|
||||
})
|
||||
export class HomePageModule5 {}
|
||||
|
||||
Reference in New Issue
Block a user