Closed AdamJessop closed 9 years ago
Closing this, figured it out.
app.config($sailsProvider) { $sailsProvider.config.url = 'http://host:port'; }
That change was unintentional and, looking at the code, is a bug.
This should be fixed in 2.0.0 beta 3 which has been released.
Configuring default host / port how can i load the backendUrl , reading a config.json through $http request ? , is it possible ?
or change it dynamically?
regards
Hi,
I have been working with angular-sails for a while however I wanted to update to the latest beta to get access to the defaults for help with authorisation however it has since broken my ability to change the default URL for the socket service.
Previously I was doing $sailsProvider.url = 'http://host:port' however it appears this has no effect.
Is there an updated method for achieving the same result?
Cheers, Adam.