diff --git a/EnvironmentForDebug.js b/EnvironmentForDebug.js index 01b010fc1..754d228bb 100644 --- a/EnvironmentForDebug.js +++ b/EnvironmentForDebug.js @@ -5,6 +5,7 @@ exports.newEnvironment = function () { CLIENT_WEB_SOCKETS_INTERFACE_PORT: 18041, NETWORK_WEB_SOCKETS_INTERFACE_PORT: 18042, DESKTOP_WEB_SOCKETS_INTERFACE_PORT: 18043, + DESKTOP_WEB_SOCKETS_INTERFACE_HOST: 'localhost', CLIENT_HTTP_INTERFACE_PORT: 34248, DESKTOP_HTTP_INTERFACE_PORT: 34249, PATH_TO_TASK_SERVER: './TaskServer', diff --git a/Projects/ProjectsSchema.json b/Projects/ProjectsSchema.json index b05374e4e..c6d84b71b 100644 --- a/Projects/ProjectsSchema.json +++ b/Projects/ProjectsSchema.json @@ -1233,7 +1233,7 @@ "functionName": "newGovernanceUtilitiesTables" }, { - "name": "Decendent Tables", + "name": "Descendent Tables", "propertyName": "decendentTables", "functionName": "newGovernanceUtilitiesDecendentTables" }, diff --git a/Projects/Social-Trading/DK/modules/httpInterface.js b/Projects/Social-Trading/DK/modules/httpInterface.js index c5526164e..77bb35598 100644 --- a/Projects/Social-Trading/DK/modules/httpInterface.js +++ b/Projects/Social-Trading/DK/modules/httpInterface.js @@ -46,26 +46,6 @@ exports.newDesktopModulesHttpInterface = function newDesktopModulesHttpInterface SA.projects.foundations.utilities.httpResponses.respondWithFile(path, httpResponse) } break - case 'ListFunctionLibraries': - { - SA.projects.foundations.utilities.httpResponses.respondWithProjectFolderFileList(httpResponse, 'Function-Libraries', 'UI') - } - break - case 'ListUtilitiesFiles': - { - SA.projects.foundations.utilities.httpResponses.respondWithProjectFolderFileList(httpResponse, 'Utilities', 'UI') - } - break - case 'ListGlobalFiles': - { - SA.projects.foundations.utilities.httpResponses.respondWithProjectFolderFileList(httpResponse, 'Globals', 'UI') - } - break - case 'ListModulesFiles': - { - SA.projects.foundations.utilities.httpResponses.respondWithProjectFolderFileList(httpResponse, 'Modules', 'UI') - } - break case 'Projects': { let path = '' diff --git a/Projects/Social-Trading/UI/modules/WebSocketsClient.js b/Projects/Social-Trading/UI/modules/WebSocketsClient.js index ffa070c31..aaeac8f9e 100644 --- a/Projects/Social-Trading/UI/modules/WebSocketsClient.js +++ b/Projects/Social-Trading/UI/modules/WebSocketsClient.js @@ -22,7 +22,7 @@ function newSocialTradingModulesWebSocketsClient() { async function initialize() { - socketClient = new WebSocket('ws://' + HOST + ':' + PORT) + socketClient = new WebSocket('ws://' + UI.environment.DESKTOP_WEB_SOCKETS_INTERFACE_HOST + ':' + UI.environment.DESKTOP_WEB_SOCKETS_INTERFACE_PORT) await setUpWebsocketClient() }