Superalgos Workspace completed with all assets structures

This commit is contained in:
Luis Fernando Molina committed 2021-06-13 04:51:44 +02:00
1 parent 3e5ae891e2
commit 8ca0c05a1f
11 files changed
+4369 -116

No files matched your search

+6 -2
View File
@@ -1090,8 +1090,12 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
if (requestParameters[5] !== undefined) {
folderPath = folderPath + '/' + requestParameters[5]
}
const folder = global.env.PATH_TO_PROJECTS + '/' + folderPath
let folder
if (requestParameters[2] === 'Root') {
folder = folderPath.replace('Root', '../Superalgos/')
} else {
folder = global.env.PATH_TO_PROJECTS + '/' + folderPath
}
getAllFilesInDirectoryAndSubdirectories(folder, onFilesReady)