Open
Description
I'm serving my Angular app from localhost:8000, with django running a tastypie backend on localhost:8888. I'm simulating a mobile app, so I have no need or desire to have django server the angular app.
With a config like this:
RestangularProvider.setBaseUrl('http://localhost:8888/api/v1/'); // Following the bing example
RestangularProvider.setRestangularFields({
selfLink: 'resource_uri'
});
and resoure_uri values, which look like: "/api/v1/object/id"
The generated path when trying to put is:
http://localhost:8888/api/v1//api/v1/object/id
Perhaps BaseUrl should be split to BasePath and BaseDomain?