I am converting a project for use with Ember Data 1.0.0 Beta 1 (just released). I have a REST adapter that listens on a specific endpoint and therefore it is necessary to configure the endpoint.
Here's how it works in Ember 0.13 data:
App.Adapter = DS.RESTAdapter.extend({}) DS.RESTAdapter.reopen({ url: 'https://api.example.com' });
In Ember 0.13 data, the URL has become: https://api.example.com/authors
In Ember data 1.0.0 url becomes: http://192.168.0.108:51939/authors : http://192.168.0.108:51939/authors
c / 192.168.0.108: 51939 URL on which webapp runs.
So it looks like setting the URL to .reopen from the RESTAdapter no longer works?
I have the same problem with other URL settings (e.g. namespace) ...
Hope someone can help.
Mark
source share