Warning, /firebird/firebird-ng/src/app/app.config.ts is written in an unsupported language. File is not indexed.
0001 import {
0002 ApplicationConfig,
0003 inject,
0004 provideAppInitializer,
0005 } from '@angular/core';
0006 import { provideRouter } from '@angular/router';
0007 import { routes } from './app.routes';
0008 import { ServerConfigService } from './services/server-config.service';
0009 import { provideHttpClient, withFetch } from '@angular/common/http';
0010
0011 export const appConfig: ApplicationConfig = {
0012 providers: [
0013 provideRouter(routes),
0014 provideHttpClient(withFetch()),
0015 provideAppInitializer(() => inject(ServerConfigService).loadConfig()),
0016 ],
0017 };
0018