Legacy Code Reorganized

This commit is contained in:
Luis Fernando Molina committed 2020-11-21 13:09:29 +01:00
1 parent f4113ce2cb
commit 37a7ca9228
39 files changed
+37 -34

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ exports.newFileStorage = function newFileStorage(logger, host, port) {
let fileLocation
let mustBeJason
if (filePath.indexOf("/bots/") > 0) {
fileLocation = process.env.BOTS_PATH + '/' + filePath
fileLocation = process.env.PROJECTS_PATH + '/' + filePath
mustBeJason = false
} else {
fileLocation = process.env.STORAGE_PATH + '/' + filePath