forgot stream header for chunks
This commit is contained in:
parent
4b03f7a5a4
commit
5ed448a9a4
|
@ -70,10 +70,11 @@ export default async (req, res, next) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
res.set({
|
||||||
|
'Content-Type': 'application/octet-stream',
|
||||||
|
});
|
||||||
|
|
||||||
if (!chunk) {
|
if (!chunk) {
|
||||||
res.set({
|
|
||||||
'Content-Type': 'application/octet-stream',
|
|
||||||
});
|
|
||||||
res.status(200).end();
|
res.status(200).end();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user