Using polling transport

This commit is contained in:
Matias Pando 2015-04-23 17:32:16 -03:00
commit 3f42eccd9f
2 changed files with 2 additions and 1 deletions

View file

@ -18,7 +18,7 @@
"foundation-icon-fonts": "*", "foundation-icon-fonts": "*",
"ng-lodash": "~0.2.0", "ng-lodash": "~0.2.0",
"angular-moment": "~0.9.0", "angular-moment": "~0.9.0",
"angular-bitcore-wallet-client": "^0.0.18", "angular-bitcore-wallet-client": "^0.0.20",
"angular-ui-router": "~0.2.13", "angular-ui-router": "~0.2.13",
"qrcode-decoder-js": "*", "qrcode-decoder-js": "*",
"angular-ui-switch": "~0.1.0" "angular-ui-switch": "~0.1.0"

View file

@ -117,6 +117,7 @@ angular.module('copayApp.services').factory('configService', function(localStora
root.get(function(err, c) { root.get(function(err, c) {
if (err) throw Error(err); if (err) throw Error(err);
bwcService.setBaseUrl(c.bws.url); bwcService.setBaseUrl(c.bws.url);
bwcService.setTransports(['polling']);
}); });
return root; return root;