diff --git a/src/js/service.js b/src/js/service.js index 77e1897..aeea056 100644 --- a/src/js/service.js +++ b/src/js/service.js @@ -16,7 +16,7 @@ angular.module('focaCrearFactura') return $http.get(route + '/turnos/productos/' + numeroPlanilla); }, getUltimosDespachos: function (numeroPlanilla) { - return $http.get('http://10.231.45.194:9900' + '/turnos/productos/' + numeroPlanilla + '/true'); + return $http.get(route + '/turnos/productos/' + numeroPlanilla + '/true'); }, setearDespachoOcupado: function (parametros) { return $http.post(route + '/turnos/despacho-en-uso', parametros);