From 04a80f1e396c82c4a847042118ef8a2f0968fdb7 Mon Sep 17 00:00:00 2001 From: mpuebla Date: Thu, 8 Aug 2019 17:32:30 -0300 Subject: [PATCH] Cambio de ruta. --- src/app/services/producto.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/services/producto.service.ts b/src/app/services/producto.service.ts index 61efc16..2e0eb5e 100644 --- a/src/app/services/producto.service.ts +++ b/src/app/services/producto.service.ts @@ -1,7 +1,7 @@ import { Injectable } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; -import { environment } from 'src/environments/environment.prod'; +import { appSettings } from 'src/etc/AppSettings'; @Injectable({ providedIn: 'root' @@ -11,7 +11,7 @@ export class ProductoService { constructor(private http: HttpClient) { } getAll(): Observable { - return this.http.get(`${environment.apiUrl}/articulos`); + return this.http.get(`${appSettings.apiUrl}/articulos`); } } -- 1.9.1