From 778a92fd5e3a444c2df4c77487972b6cebdda511 Mon Sep 17 00:00:00 2001 From: Florian THIERRY Date: Wed, 25 Sep 2024 08:35:52 +0200 Subject: [PATCH] Enable zoneless configuration. --- frontend/src/app/app.config.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/app.config.ts b/frontend/src/app/app.config.ts index 58985bc..58f4b18 100644 --- a/frontend/src/app/app.config.ts +++ b/frontend/src/app/app.config.ts @@ -1,4 +1,4 @@ -import { ApplicationConfig } from '@angular/core'; +import { ApplicationConfig, provideExperimentalZonelessChangeDetection } from '@angular/core'; import { provideRouter, withRouterConfig } from '@angular/router'; import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; @@ -16,7 +16,9 @@ export const appConfig: ApplicationConfig = { }) ), provideAnimationsAsync(), + provideExperimentalZonelessChangeDetection(), provideHttpClient(withInterceptorsFromDi()), + { provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true }, ] };