Skip to content

Commit

Permalink
fix(angular-native-federation-tools): added handling for http interce…
Browse files Browse the repository at this point in the history
…ptors provided in DI
  • Loading branch information
JBBianchi committed Dec 12, 2023
1 parent 8723036 commit d3bd280
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { provideHttpClient } from '@angular/common/http';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { EnvironmentProviders, Provider, importProvidersFrom } from '@angular/core';
import { Routes, provideRouter } from '@angular/router';
import { provideEffects } from '@ngrx/effects';
Expand Down Expand Up @@ -30,7 +30,7 @@ export const getShellProviders = (
isRunningInShell: boolean,
storeDevtoolsOptions: StoreDevtoolsOptions | undefined = {},
): Array<Provider | EnvironmentProviders> => [
provideHttpClient(),
provideHttpClient(withInterceptorsFromDi()),
provideRouter(routes),
provideStore(),
provideEffects(),
Expand Down

0 comments on commit d3bd280

Please sign in to comment.