diff --git a/.gitignore b/.gitignore index 52053745f..d9043d22a 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ configs/Email.Config.json configs/User.Profile.json configs/Execution.Config.json +configs/Secret.Keys.json diff --git a/Run.js b/Run.js index 03e0ffdfc..56f3bfd7f 100644 --- a/Run.js +++ b/Run.js @@ -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();