mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-02-13 10:52:53 +00:00
fix: avoid cache of list of files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user