1
0
Fork 0

1.fix read directory with no permission throw exception(page shows nothing but the error)

pull/6/head
yhchen 2019-08-21 17:20:00 +08:00
parent 9fcebe7c2b
commit 17f0a5374f
1 changed files with 1 additions and 1 deletions

View File

@ -518,7 +518,7 @@ app.get("/*", (req, res) => {
size: filesize(stats.size)
});
});
});
}).catch((ex) => console.error(ex));
});
Promise.all(promises).then((files) => {