We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 885bc0e commit 55326bbCopy full SHA for 55326bb
src/app/app.config.ts
@@ -21,7 +21,7 @@ import {ReactiveFormsModule} from "@angular/forms";
21
import {CoursesService} from "./services/courses.service";
22
import {CourseResolver} from "./services/course.resolver";
23
import {provideAnimations} from "@angular/platform-browser/animations";
24
-import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http";
+import {provideHttpClient, withFetch, withInterceptorsFromDi} from "@angular/common/http";
25
26
27
export const appConfig: ApplicationConfig = {
@@ -30,6 +30,6 @@ export const appConfig: ApplicationConfig = {
30
CoursesService,
31
CourseResolver,
32
provideAnimations(),
33
- provideHttpClient(withInterceptorsFromDi())
+ provideHttpClient(withInterceptorsFromDi(), withFetch())
34
]
35
};
0 commit comments