diff --git a/Scripts/AppLoader.js b/Scripts/AppLoader.js index 0f238e5fa..4255a1866 100644 --- a/Scripts/AppLoader.js +++ b/Scripts/AppLoader.js @@ -45,7 +45,7 @@ function newAppLoader() { 'StrategySpace/Workspace/FunctionLibraries/NodeDeleter.js', 'StrategySpace/Workspace/FunctionLibraries/ProtocolNode.js', 'StrategySpace/Workspace/FunctionLibraries/StringifyNode.js', - + 'Utilities/RoundedCornersBackground.js', @@ -195,6 +195,7 @@ function newAppLoader() { profilePicture repo configFile + cloneId products{ codeName displayName diff --git a/server.js b/server.js index 34222acf5..91e3826f6 100644 --- a/server.js +++ b/server.js @@ -36,7 +36,6 @@ let isHttpServerStarted = false const FILE_CLOUD = require('./Server/FileCloud') let fileCloud = FILE_CLOUD.newFileCloud() -let storageData = new Map() startHtttpServer() @@ -379,12 +378,6 @@ function respondWithSourceCode (requestParameters, response) { let filePath = devTeam + '/plotters/' + codeName + '/' + moduleName - let cachedSourceCode = storageData.get(filePath) - if (cachedSourceCode) { - respondWithContent(cachedSourceCode, response) - return - } - fileCloud.getBlobToText(devTeam.toLowerCase(), filePath, null, onDataArrived) function onDataArrived (err, pData) { @@ -392,7 +385,6 @@ function respondWithSourceCode (requestParameters, response) { console.log('[ERROR] server -> onBrowserRequest -> respondWithSourceCode -> Could not read a file -> err.message = ' + err.message, err.stack) pData = '' } - storageData.set(filePath, pData) respondWithContent(pData, response) } }