Skip to content

Commit

Permalink
♻️ refactor(核心模块): 精简了core.module.ts中的exports定义 🇨🇳
Browse files Browse the repository at this point in the history
  • Loading branch information
vnobo committed Jun 4, 2024
1 parent da94192 commit 1b3ca21
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/projects/web/src/app/core/core.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ export function authTokenInterceptor(req: HttpRequest<unknown>, next: HttpHandle


@NgModule({
exports: [
HttpClientModule,
HttpClientXsrfModule
], imports: [], providers: [
exports: [], imports: [], providers: [
provideHttpClient(withFetch(), withInterceptors([defaultInterceptor, authTokenInterceptor])),
provideHttpClient(withInterceptorsFromDi(), withXsrfConfiguration({
cookieName: 'XSRF-TOKEN',
Expand Down

0 comments on commit 1b3ca21

Please sign in to comment.