From 1b3ca2176cedf624776e26e726d2ce4136cae58a Mon Sep 17 00:00:00 2001 From: AlexBob <5199840@qq.com> Date: Tue, 4 Jun 2024 18:08:35 +0800 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20refactor(=E6=A0=B8?= =?UTF-8?q?=E5=BF=83=E6=A8=A1=E5=9D=97):=20=E7=B2=BE=E7=AE=80=E4=BA=86`cor?= =?UTF-8?q?e.module.ts`=E4=B8=AD=E7=9A=84`exports`=E5=AE=9A=E4=B9=89=20?= =?UTF-8?q?=F0=9F=87=A8=F0=9F=87=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/projects/web/src/app/core/core.module.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/projects/web/src/app/core/core.module.ts b/ui/projects/web/src/app/core/core.module.ts index 4180a4e5..7c667673 100644 --- a/ui/projects/web/src/app/core/core.module.ts +++ b/ui/projects/web/src/app/core/core.module.ts @@ -76,10 +76,7 @@ export function authTokenInterceptor(req: HttpRequest, next: HttpHandle @NgModule({ - exports: [ - HttpClientModule, - HttpClientXsrfModule - ], imports: [], providers: [ + exports: [], imports: [], providers: [ provideHttpClient(withFetch(), withInterceptors([defaultInterceptor, authTokenInterceptor])), provideHttpClient(withInterceptorsFromDi(), withXsrfConfiguration({ cookieName: 'XSRF-TOKEN',