fix: avoid cache of list of files

This commit is contained in:
tdurieux committed 2024-07-22 16:20:18 +02:00
1 parent 27583e6a17
commit d8dd408a65
3 files changed
+6 -3

No files matched your search

+4 -1
View File
@@ -82,7 +82,10 @@ router.post(
.on("finish", () => {
archive.finalize();
});
archive.pipe(res);
archive.pipe(res).on("error", (error) => {
console.error(error);
res.end();
});
} catch (error) {
handleError(error, res);
}