forgot stream header for chunks

This commit is contained in:
HF 2022-04-08 22:29:51 +02:00
parent 4b03f7a5a4
commit 5ed448a9a4

View File

@ -70,10 +70,11 @@ export default async (req, res, next) => {
return;
}
res.set({
'Content-Type': 'application/octet-stream',
});
if (!chunk) {
res.set({
'Content-Type': 'application/octet-stream',
});
res.status(200).end();
return;
}