fix BWS url
This commit is contained in:
parent
c8002feb2c
commit
0a240d5559
3 changed files with 5 additions and 5 deletions
4
angular-bitcore-wallet-client/index.js
vendored
4
angular-bitcore-wallet-client/index.js
vendored
|
|
@ -32,9 +32,9 @@ bwcModule.provider("bwcService", function() {
|
|||
service.getClient = function(walletData, opts) {
|
||||
opts = opts || {};
|
||||
|
||||
//note opts use `baseurl` all lowercase;
|
||||
//note opts use `bwsurl` all lowercase;
|
||||
var bwc = new Client({
|
||||
baseUrl: opts.baseurl || 'https://bws.bitpay.com/bws/api',
|
||||
baseUrl: opts.bwsurl || 'https://bws.bitpay.com/bws/api',
|
||||
verbose: opts.verbose,
|
||||
transports: ['polling'],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue