Update httpInterface.js
This commit is contained in:
1 parent
41ce975872
commit
d22cc42712
1 file changed
+1
-1
@@ -563,7 +563,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
|
||||
function onDirRead(err, fileList) {
|
||||
if (err) {
|
||||
console.log('[WARN] Could not read this directory content. filePath = ' + dirPath)
|
||||
// This happens the first time you run the software.
|
||||
respondWithContent(JSON.stringify(global.DEFAULT_FAIL_RESPONSE), httpResponse)
|
||||
return
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user