host{String}
An adapter can target other hosts by setting the host property.
app/adapters/application.jsimport DS from 'ember-data';
export default DS.RESTAdapter.extend({
host: 'https://api.example.com'
});
Requests for the Post model would now target https://api.example.com/post/.
Please login to continue.