Refactor app configuration for improved code consistency and formatting
This commit is contained in:
parent
25fdb8e42e
commit
6e520b0cd7
@ -1,10 +1,9 @@
|
|||||||
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
|
import {ApplicationConfig, provideZoneChangeDetection} from '@angular/core';
|
||||||
import { provideRouter } from '@angular/router';
|
import {provideRouter} from '@angular/router';
|
||||||
|
|
||||||
import { routes } from './app.routes';
|
import {routes} from './app.routes';
|
||||||
import {GandalfClientBaseAPI} from './clients/gandalf/gandalf-client';
|
import {GandalfClientBaseAPI} from './clients/gandalf/gandalf-client';
|
||||||
import {provideHttpClient} from '@angular/common/http';
|
import {provideHttpClient} from '@angular/common/http';
|
||||||
import { provideClientHydration, withEventReplay } from '@angular/platform-browser';
|
|
||||||
|
|
||||||
export const appConfig: ApplicationConfig = {
|
export const appConfig: ApplicationConfig = {
|
||||||
providers: [
|
providers: [
|
||||||
@ -14,6 +13,6 @@ export const appConfig: ApplicationConfig = {
|
|||||||
{
|
{
|
||||||
provide: GandalfClientBaseAPI,
|
provide: GandalfClientBaseAPI,
|
||||||
useValue: 'http://localhost:5055'
|
useValue: 'http://localhost:5055'
|
||||||
}, provideClientHydration(withEventReplay())
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user