Also fixed for aliases 'prod' and 'production'
This commit is contained in:
parent
4e83d09f47
commit
6eaf243e6e
1 changed files with 3 additions and 3 deletions
|
|
@ -25,15 +25,15 @@ angular.module('copayApp.controllers').controller('preferencesBwsUrlController',
|
|||
switch ($scope.bwsurl.value) {
|
||||
case 'prod':
|
||||
case 'production':
|
||||
bws = 'https://bws.bitcoin.com/bws/api'
|
||||
bws = ($scope.wallet.coin === 'btc') ? defaults.bws.url : defaults.bwscash.url;
|
||||
break;
|
||||
case 'sta':
|
||||
case 'staging':
|
||||
bws = 'https://bws-staging.b-pay.net/bws/api'
|
||||
bws = 'https://bws-staging.b-pay.net/bws/api';
|
||||
break;
|
||||
case 'loc':
|
||||
case 'local':
|
||||
bws = 'http://localhost:3232/bws/api'
|
||||
bws = 'http://localhost:3232/bws/api';
|
||||
break;
|
||||
};
|
||||
if (bws) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue