...
Altere o endereço da chamada REST para o configurado no Appserver.ini. Baseado no exemplo de Appserver.ini :
HTML |
---|
<div class="preformatted panel" style="border-width: 1px;"><br/><pre> define(['index',
'components',
'totvs-custom',
'ng-load!totvs-resource'
], function(index) {
// *************************************************************************************
// *** FACTORIES
// *************************************************************************************
customerFactory.$inject = ['$totvsresource'];
function customerFactory($totvsresource) {
var factory = $totvsresource.REST('<strong><em>http://localhost:8084/html-protheus/rest/customer/:method/:id</em></strong>', {}, {}); </pre><br/></div> |