Legacy Code Reorganized
This commit is contained in:
1 parent
f4113ce2cb
commit
37a7ca9228
39 files changed
+37
-34
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user