diff --git a/public/views/preferencesBwsUrl.html b/public/views/preferencesBwsUrl.html index 909c28da7..e815c5a8d 100644 --- a/public/views/preferencesBwsUrl.html +++ b/public/views/preferencesBwsUrl.html @@ -11,6 +11,7 @@
+
diff --git a/src/js/controllers/preferencesBwsUrl.js b/src/js/controllers/preferencesBwsUrl.js index 4ec00fd9f..c27786220 100644 --- a/src/js/controllers/preferencesBwsUrl.js +++ b/src/js/controllers/preferencesBwsUrl.js @@ -12,6 +12,10 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController', this.bwsurl = (config.bwsFor && config.bwsFor[walletId]) || defaults.bws.url; + this.resetDefaultUrl = function() { + this.bwsurl = 'https://bws.bitpay.com/bws/api'; + }; + this.save = function() { var bws; @@ -46,4 +50,4 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController', }); }); }; - }); + }); \ No newline at end of file