From a8fd36971894e3a87e80b51771b3c65af0f9e3ff Mon Sep 17 00:00:00 2001 From: Gabriel De Los Rios Date: Thu, 11 Dec 2025 23:12:32 -0300 Subject: [PATCH] feat: add httpClient provider --- src/app/app.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 2b3aaaa..d999763 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -3,6 +3,7 @@ import { provideRouter } from '@angular/router'; import { routes } from './app.routes'; import { strings } from './strings'; +import { provideHttpClient } from '@angular/common/http'; const STRINGS_TOKEN = 'strings'; export const STRINGS_INJECTOR = new InjectionToken(STRINGS_TOKEN); @@ -12,6 +13,7 @@ export const appConfig: ApplicationConfig = { provideBrowserGlobalErrorListeners(), provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), + provideHttpClient(), {provide: STRINGS_INJECTOR, useValue: strings} ] };