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) {
|
switch ($scope.bwsurl.value) {
|
||||||
case 'prod':
|
case 'prod':
|
||||||
case 'production':
|
case 'production':
|
||||||
bws = 'https://bws.bitcoin.com/bws/api'
|
bws = ($scope.wallet.coin === 'btc') ? defaults.bws.url : defaults.bwscash.url;
|
||||||
break;
|
break;
|
||||||
case 'sta':
|
case 'sta':
|
||||||
case 'staging':
|
case 'staging':
|
||||||
bws = 'https://bws-staging.b-pay.net/bws/api'
|
bws = 'https://bws-staging.b-pay.net/bws/api';
|
||||||
break;
|
break;
|
||||||
case 'loc':
|
case 'loc':
|
||||||
case 'local':
|
case 'local':
|
||||||
bws = 'http://localhost:3232/bws/api'
|
bws = 'http://localhost:3232/bws/api';
|
||||||
break;
|
break;
|
||||||
};
|
};
|
||||||
if (bws) {
|
if (bws) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue