Add correct backend url

mx
Letícia Camara 2018-10-30 17:41:39 -03:00
parent 44bbca4e94
commit e2c8af605e
2 changed files with 2 additions and 3 deletions

View File

@ -105,7 +105,6 @@ class EnhancedTable extends Component {
let b_value = b[orderBy];
a_value = a_value.hasOwnProperty('searchText') ? a_value.searchText.toLowerCase() : a_value.toLowerCase();
b_value = b_value.hasOwnProperty('searchText') ? b_value.searchText.toLowerCase() : b_value.toLowerCase();
console.log(a_value);
if(a_value.trim() === '') a_value = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz';
if(b_value.trim() === '') b_value = 'zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz';
return (a_value < b_value) ? -1 : 1;

View File

@ -2,8 +2,8 @@ import feathers from '@feathersjs/client';
const app = feathers();
// Change to your production ambassador web service
const restClient = feathers.rest('http://localhost:3030');
// const restClient = feathers.rest('https://palmpaybackend.leticiacamara.com');
//const restClient = feathers.rest('http://localhost:3030');
const restClient = feathers.rest('https://ambpay.palmpay.io');
// Configure an Fetch AJAX library with that client. For fetch details see https://facebook.github.io/react-native/docs/network.html
// For rest details see https://docs.feathersjs.com/api/client/rest.html