[desktop] Force to use custom HttpClient from portmaster-api

This commit is contained in:
Alexandr Stelnykovych
2025-04-17 17:06:06 +03:00
parent 1e7baff6bd
commit 73174cdca8
3 changed files with 2 additions and 6 deletions

View File

@@ -15,9 +15,7 @@ import {
} from './portapi.service';
import { Process } from './portapi.types';
@Injectable({
providedIn: 'root',
})
@Injectable()
export class AppProfileService {
private watchedProfiles = new Map<string, Observable<AppProfile>>();

View File

@@ -6,7 +6,7 @@ import { FeatureID } from "./features";
import { PORTMASTER_HTTP_API_ENDPOINT, PortapiService } from './portapi.service';
import { Feature, Pin, SPNStatus, UserProfile } from "./spn.types";
@Injectable({ providedIn: 'root' })
@Injectable()
export class SPNService {
/** Emits the SPN status whenever it changes */

View File

@@ -4,7 +4,6 @@ import { PortalModule } from '@angular/cdk/portal';
import { ScrollingModule } from '@angular/cdk/scrolling';
import { CdkTableModule } from '@angular/cdk/table';
import { CommonModule, registerLocaleData } from '@angular/common';
import { HttpClientModule } from '@angular/common/http';
import { APP_INITIALIZER, LOCALE_ID, NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
@@ -174,7 +173,6 @@ const localeConfig = {
PortalModule,
CdkTableModule,
DragDropModule,
HttpClientModule,
MarkdownModule.forRoot(),
ScrollingModule,
SfngAccordionModule,