Web Config Changes
This commit is contained in:
1 parent
cf6f7c6e83
commit
b953901c3c
2 files changed
+13
-28
No files matched your search
@@ -211,7 +211,19 @@ exports.newRoot = function newRoot() {
|
||||
for (let p = 0; p < global.PLATFORM_CONFIG.executionList.length; p++) {
|
||||
|
||||
let listItem = PLATFORM_CONFIG.executionList[p];
|
||||
let executionListItem = global.EXECUTION_CONFIG.executionList[p];
|
||||
|
||||
/*
|
||||
The local configuration allows to select the configuration to run
|
||||
locally, without overwriting the server config.
|
||||
Here we check that the local configuration for the execution
|
||||
exist, if it doesn't exist we will take the one on the server.
|
||||
*/
|
||||
let executionListItem;
|
||||
if (global.EXECUTION_CONFIG === undefined) {
|
||||
executionListItem = listItem;
|
||||
} else {
|
||||
executionListItem = global.EXECUTION_CONFIG.executionList[p];
|
||||
}
|
||||
|
||||
if (listItem.enabled !== "true" || executionListItem.enabled !== "true") {
|
||||
|
||||
|
||||
@@ -38,33 +38,6 @@
|
||||
},
|
||||
{
|
||||
"name": "DataSet.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/ExchangeAPI.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/exchangeUtils.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/beautifier.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/binance.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/binanceClient.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/binanceProperties.json"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/poloniex.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/poloniexClient.js"
|
||||
},
|
||||
{
|
||||
"name": "exchange/wrappers/poloniexProperties.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user