import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core'; import { provideRouter } from '@angular/router'; import { provideOAuthClient } from 'angular-oauth2-oidc'; import { HttpHandlerFn, HttpRequest, provideHttpClient, withInterceptors } from '@angular/common/http'; import { provideAnimationsAsync } from '@angular/platform-browser/animations/async'; import { routes } from './app.routes'; import { provideClientHydration } from '@angular/platform-browser'; export const appConfig: ApplicationConfig = { providers: [ provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideHttpClient( withInterceptors([(req: HttpRequest, next: HttpHandlerFn) => { console.log(req.url); return next(req); }]) ), provideOAuthClient(), provideClientHydration(), provideAnimationsAsync() ] };