Skip to content

httpInterceptorProviders lose efficacy  #7

@leehonleon

Description

@leehonleon

hi @FaNathan
my project is used ng-alain ui ,is regist httpInterceptorProviders like

  providers: [
    { provide: BASE_URL, useValue: environment.api.baseUrl },
    ...httpInterceptorProviders,
    ...LANG_PROVIDES,
    ...I18NSERVICE_PROVIDES,
    ...APPINIT_PROVIDES,
  ],

that type like { provide: HTTP_INTERCEPTORS, useClass: TokenInterceptor, multi: true },

when use http send request , Interceptor well set header with token .
but after use AngularDropzoneModule , the TokenInterceptor is not work .

the reason may be AngularDropzoneModule regist providers like providers: [AngularDropzoneService],
there has'nt [provide: ] and [useClass: ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions