Open andrew-paterson opened 5 years ago
I'm using Ember 3.1.2, and ember-ajax 3.0.0.
Assuming I'm serving my Ember app at localhost:4200 and have the namespace and host configured as follows:
localhost:4200
// services/ajax namespace: '/foo', host: `https://test.com`,
If I then call
this.get('ajax').request('/foobar/posts');
the host and namespace are not added to the request URL which becomes
localhost:4200/foobar/posts
where it should be
https://test.com/foo/foobar/posts.
I'm using Ember 3.1.2, and ember-ajax 3.0.0.
Assuming I'm serving my Ember app at
localhost:4200
and have the namespace and host configured as follows:If I then call
the host and namespace are not added to the request URL which becomes
where it should be