AACloud Config is 100% read from the cloud
This commit is contained in:
1 parent
af73e40a34
commit
6f83547b16
6 files changed
+145
-98
No files matched your search
+1
-1
@@ -78,7 +78,7 @@ exports.newFileStorage = function newFileStorage(BOT) {
|
||||
|
||||
try {
|
||||
let fs = require('fs');
|
||||
filePath = '../' + 'Connection-Strings' + '/' + global.STORAGE_CONN_STRING_FOLDER + '/' + dataOwner + '.azure.storage.connstring';
|
||||
filePath = '../' + 'Connection-Strings' + '/' + global.CURRENT_ENVIRONMENT + '/' + dataOwner + '.azure.storage.connstring';
|
||||
let connObj = JSON.parse(fs.readFileSync(filePath, 'utf8'));
|
||||
|
||||
callBack(global.DEFAULT_OK_RESPONSE, connObj);
|
||||
|
||||
Reference in new issue
Block a user