24 lines
995 B
TypeScript
24 lines
995 B
TypeScript
import { ApplicationConfig, importProvidersFrom, provideZoneChangeDetection } from '@angular/core';
|
|
import { provideRouter } from '@angular/router';
|
|
|
|
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
|
import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-components-angular';
|
|
import { environment } from '@environment/environment';
|
|
import { routes } from '@app/app.routes';
|
|
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
import { httpInterceptor } from 'projects/shared-meet-components/src/public-api';
|
|
|
|
const ovComponentsconfig: OpenViduComponentsConfig = {
|
|
production: environment.production
|
|
};
|
|
|
|
export const appConfig: ApplicationConfig = {
|
|
providers: [
|
|
importProvidersFrom(OpenViduComponentsModule.forRoot(ovComponentsconfig)),
|
|
provideZoneChangeDetection({ eventCoalescing: true }),
|
|
provideRouter(routes),
|
|
provideAnimationsAsync(),
|
|
provideHttpClient(withInterceptors([httpInterceptor]))
|
|
]
|
|
};
|