Skip to content

Commit

Permalink
frontend: Improved variable name config
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Jul 17, 2024
1 parent 251e2b2 commit 66f3aa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openvidu-call-front/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { OpenViduComponentsModule, OpenViduComponentsConfig } from 'openvidu-com
import { provideAnimations } from '@angular/platform-browser/animations';
import { BrowserModule, bootstrapApplication } from '@angular/platform-browser';

const config: OpenViduComponentsConfig = {
const componentsConfig: OpenViduComponentsConfig = {
production: environment.production
};

Expand All @@ -16,7 +16,7 @@ if (environment.production) {

bootstrapApplication(AppComponent, {
providers: [
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(config), AppRoutingModule),
importProvidersFrom(BrowserModule, OpenViduComponentsModule.forRoot(componentsConfig), AppRoutingModule),
provideAnimations()
]
}).catch((err) => console.log(err));

0 comments on commit 66f3aa1

Please sign in to comment.