Bug Fixed Issue #318. Using # in the name of the trading system didn't show backtest results.
This commit is contained in:
1 parent
e80592530f
commit
3ea470bf60
4 files changed
+13
-5
No files matched your search
@@ -1349,7 +1349,12 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
|
||||
case 'Storage':
|
||||
{
|
||||
respondWithFile(global.env.PATH_TO_DATA_STORAGE + '/' + httpRequest.url.substring(9), httpResponse)
|
||||
let pathToFile = httpRequest.url.substring(9)
|
||||
/* Unsavping # */
|
||||
for (let i = 0; i < 10; i++) {
|
||||
pathToFile = pathToFile.replace('HASHTAG', '#')
|
||||
}
|
||||
respondWithFile(global.env.PATH_TO_DATA_STORAGE + '/' + pathToFile, httpResponse)
|
||||
}
|
||||
break
|
||||
|
||||
|
||||
Reference in new issue
Block a user