import {ApplicationConfig} from '@angular/core'; import {provideRouter} from '@angular/router'; import {routes} from './app.routes'; import {alerterInterceptor} from "./interceptor/alerter.interceptor"; import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from "@angular/common/http"; import {provideAnimations} from "@angular/platform-browser/animations"; export const appConfig: ApplicationConfig = { providers: [ provideRouter(routes), provideHttpClient(withInterceptorsFromDi()), { provide: HTTP_INTERCEPTORS, useClass: alerterInterceptor, multi: true }, provideAnimations(), ] };