diff --git a/example/client-server/client.js b/example/client-server/client.js index 4e1e423c..436e266b 100644 --- a/example/client-server/client.js +++ b/example/client-server/client.js @@ -3,7 +3,7 @@ var client = loopback(); var CartItem = require('./models').CartItem; var remote = loopback.createDataSource({ connector: loopback.Remote, - root: 'http://localhost:3000' + url: 'http://localhost:3000' }); client.model(CartItem);