Add config: true to fcoin config to allow use of fcoin.conf file in datadir
This is mainly to allow the setting and changing of API keys in a seperate file, in case people want to access
This commit is contained in:
parent
375ee80b5d
commit
06bb34123a
@ -42,7 +42,8 @@ Bcoin.prototype._getConfig = function(options) {
|
|||||||
logLevel: 'info',
|
logLevel: 'info',
|
||||||
port: options.port,
|
port: options.port,
|
||||||
persistent: true,
|
persistent: true,
|
||||||
workers: true
|
workers: true,
|
||||||
|
config: true
|
||||||
};
|
};
|
||||||
if (options.prefix) {
|
if (options.prefix) {
|
||||||
config.prefix = options.prefix;
|
config.prefix = options.prefix;
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
"node": ">=8.0.0"
|
"node": ">=8.0.0"
|
||||||
},
|
},
|
||||||
"author": "BitPay <dev@bitpay.com>",
|
"author": "BitPay <dev@bitpay.com>",
|
||||||
"version": "5.0.0-beta.72",
|
"version": "5.0.0-beta.73",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"repository": "git://github.com/oipwg/flocore-node.git",
|
"repository": "git://github.com/oipwg/flocore-node.git",
|
||||||
"homepage": "https://github.com/oipwg/flocore-node",
|
"homepage": "https://github.com/oipwg/flocore-node",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user