diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 75ab021..ed158e2 100755 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,7 +3,7 @@ import {SharedModule} from './shared/shared.module'; import {BrowserModule} from '@angular/platform-browser'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import {CommonModule} from '@angular/common'; -import { HTTP_INTERCEPTORS, provideHttpClient, withFetch } from '@angular/common/http'; +import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'; import {AppComponent} from './app.component'; import {NavigationBarModule} from './openaireLibrary/sharedComponents/navigationBar.module'; import {CookieLawModule} from './openaireLibrary/sharedComponents/cookie-law/cookie-law.module'; @@ -42,7 +42,7 @@ import {ConfigurationService} from "./openaireLibrary/utils/configuration/config }, [{ provide: HTTP_INTERCEPTORS, useClass: TimeoutInterceptor, multi: true }], [{ provide: DEFAULT_TIMEOUT, useValue: 30000 }], - provideHttpClient(withFetch()) + provideHttpClient(withInterceptorsFromDi()) ] }) export class AppModule { } diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index cd782d4..9c93a1e 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit cd782d4a68a67dcba4d5d1bbce7ee737ad1f3871 +Subproject commit 9c93a1e306ce7abd43e3c552a2fff0240ae2f04c