Merge pull request #145 from isocolsky/fix/various
Replace 'copay' with 'bws' in URL
This commit is contained in:
commit
9344b591e7
7
app.js
7
app.js
|
@ -2,9 +2,12 @@
|
|||
|
||||
var ExpressApp = require('./lib/expressapp');
|
||||
|
||||
var port = process.env.COPAY_PORT || 3001;
|
||||
var basePath = process.env.BWS_BASE_PATH || '/bws/api';
|
||||
var port = process.env.BWS_PORT || 3001;
|
||||
|
||||
var app = ExpressApp.start();
|
||||
var app = ExpressApp.start({
|
||||
basePath: basePath,
|
||||
});
|
||||
app.listen(port);
|
||||
|
||||
console.log('Bitcore Wallet Service running on port ' + port);
|
||||
|
|
|
@ -269,7 +269,7 @@ ExpressApp.start = function(opts) {
|
|||
});
|
||||
});
|
||||
|
||||
app.use(opts.basePath || '/copay/api', router);
|
||||
app.use(opts.basePath || '/bws/api', router);
|
||||
return app;
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"name": "bitcore-wallet-service",
|
||||
"description": "A service for Mutisig HD Bitcoin Wallets",
|
||||
"author": "BitPay Inc",
|
||||
"version": "0.0.7",
|
||||
"version": "0.0.8",
|
||||
"keywords": [
|
||||
"bitcoin",
|
||||
"copay",
|
||||
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"async": "^0.9.0",
|
||||
"bitcore-wallet-utils": "^0.0.4",
|
||||
"bitcore-wallet-utils": "^0.0.5",
|
||||
"bitcore-explorers": "^0.9.1",
|
||||
"body-parser": "^1.11.0",
|
||||
"coveralls": "^2.11.2",
|
||||
|
|
Loading…
Reference in New Issue