Keys also read from the same config folder

This commit is contained in:
Luis Fernando Molina committed 2018-11-17 09:23:55 +01:00
1 parent 7dc099cbdf
commit 0a406e7ad3
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -13,3 +13,4 @@ configs/Email.Config.json
configs/User.Profile.json
configs/Execution.Config.json
configs/Secret.Keys.json
+1 -1
View File
@@ -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();