Update webServer.js

This commit is contained in:
Luis Fernando Molina committed 2020-09-19 13:01:35 +02:00
1 parent 113938b7e4
commit 93e924beb0
1 file changed
+2 -1
+2 -1
View File
@@ -472,7 +472,7 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
break
}
case 'Trading-Engines': {
folder = process.env.TRADING_MINES_PATH + '/'
folder = process.env.TRADING_ENGINES_PATH + '/'
break
}
case 'Super-Scripts': {
@@ -729,6 +729,7 @@ exports.newWebServer = function newWebServer(EVENTS_SERVER) {
if (!err) {
respondWithContent(file.toString(), response)
} else {
console.log('File requested not found: ' + fileName)
respondWithContent(undefined, response)
}
}