Keys also read from the same config folder
This commit is contained in:
1 parent
7dc099cbdf
commit
0a406e7ad3
2 files changed
+2
-1
No files matched your search
@@ -13,3 +13,4 @@ configs/Email.Config.json
|
||||
|
||||
configs/User.Profile.json
|
||||
configs/Execution.Config.json
|
||||
configs/Secret.Keys.json
|
||||
@@ -123,7 +123,7 @@ function readExchangeAPIKey() {
|
||||
console.log( "[INFO] Run -> readExchangeAPIKey -> Entering function. ");
|
||||
|
||||
let fs = require('fs');
|
||||
let filePath = '../' + 'Exchange-Keys' + '/' + 'Secret.Keys' + '.json';
|
||||
let filePath = './configs/Secret.Keys' + '.json';
|
||||
|
||||
global.EXCHANGE_KEYS = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
||||
startRoot();
|
||||
|
||||
Reference in new issue
Block a user