Superalgos Workspace completed with all assets structures
This commit is contained in:
1 parent
3e5ae891e2
commit
8ca0c05a1f
11 files changed
+4369
-116
No files matched your search
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user