diff --git a/desktop/src/app/app.module.ts b/desktop/src/app/app.module.ts index 14c101583..f025f2ca7 100644 --- a/desktop/src/app/app.module.ts +++ b/desktop/src/app/app.module.ts @@ -1,6 +1,6 @@ import { DragDropModule } from '@angular/cdk/drag-drop' import { CommonModule } from '@angular/common' -import { HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http' +import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http' import { LOCALE_ID, NgModule } from '@angular/core' import { FormsModule } from '@angular/forms' import { BrowserModule } from '@angular/platform-browser' @@ -193,7 +193,7 @@ import { SettingsComponent } from './settings/settings.component' ExposureTimePipe, MessageService, SkyObjectPipe, - provideHttpClient(), + provideHttpClient(withInterceptorsFromDi()), WinPipe, { provide: LOCALE_ID,