diff --git a/server.js b/server.js index 9146bab5..b0d2a17f 100644 --- a/server.js +++ b/server.js @@ -440,6 +440,8 @@ CloudServer._readDir = function (pError, pFiles) { if(pError){ console.log(pError); + + CloudServer.Statuses[DirPath] = 404; CloudServer.sendResponse('OK',pError.toString(), DirPath); return;