Skip to content

Commit

Permalink
fix(core): use provideConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
alecarn committed Apr 11, 2024
1 parent 3c8cf48 commit 6a93da4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import { provideAuthentification } from '@igo2/auth';
import { withMicrosoftSupport } from '@igo2/auth/microsoft';
import { provideIcon } from '@igo2/common';
import { IgoCoreModule } from '@igo2/core';
import { ConfigService, provideConfigOptions } from '@igo2/core/config';
import { provideRootTranslation } from '@igo2/core/language';
import { ConfigService, provideConfig } from '@igo2/core/config';
import { provideTranslation } from '@igo2/core/language';
import { IgoMessageModule } from '@igo2/core/message';
import { RouteService } from '@igo2/core/route';
import { loadTheme } from '@igo2/utils';
Expand Down Expand Up @@ -57,19 +57,19 @@ bootstrapApplication(AppComponent, {
registrationStrategy: 'registerWithDelay:5000'
})
),
provideAuthentification(
withMicrosoftSupport('add'),
withMicrosoftSupport('b2c')
),
provideRootTranslation(),
provideIcon(),
provideHttpClient(),
provideAnimations(),
provideRouter([]),
provideConfigOptions({
provideConfig({
default: environment.igo,
path: './config/config.json'
}),
provideTranslation(),
provideAuthentification(
withMicrosoftSupport('add'),
withMicrosoftSupport('b2c')
),
provideIcon(),
provideTheme(),
RouteService,
{ provide: MAT_TOOLTIP_DEFAULT_OPTIONS, useValue: TOOLTIP_OPTIONS },
Expand Down

0 comments on commit 6a93da4

Please sign in to comment.