27 lines
689 B
TypeScript
27 lines
689 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
import { AppComponent } from './app.component';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
|
|
import { environment } from 'src/environments/environment';
|
|
|
|
const config: OpenViduAngularConfig = {
|
|
production: environment.production
|
|
};
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent
|
|
],
|
|
imports: [
|
|
BrowserModule,
|
|
BrowserAnimationsModule,
|
|
OpenViduAngularModule.forRoot(config)
|
|
|
|
],
|
|
providers: [],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule { }
|