Allow to specify the appstore subscription helper origins
This commit is contained in:
@@ -268,6 +268,14 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
|
||||
|
||||
angular.copy(config, this._config);
|
||||
|
||||
<% if (appstore.webOrigin) { -%>
|
||||
this._config.webServerOrigin = '<%= appstore.webOrigin %>';
|
||||
<% } -%>
|
||||
|
||||
<% if (appstore.ApiOrigin) { -%>
|
||||
this._config.apiServerOrigin = '<%= appstore.webOrigin %>';
|
||||
<% } -%>
|
||||
|
||||
this._configListener.forEach(function (callback) {
|
||||
callback(that._config);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user