This commit is contained in:
Bernd Heidemann
2024-12-11 11:03:32 +01:00
parent fad91c657d
commit c54e97e788
3 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,8 @@ import { ApplicationConfig } from '@angular/core';
import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
import {provideHttpClient, withInterceptorsFromDi} from "@angular/common/http";
export const appConfig: ApplicationConfig = {
providers: [provideRouter(routes)]
providers: [provideRouter(routes), provideHttpClient(withInterceptorsFromDi())]
};