1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 10:49:28 +02:00

Forward 206 status code for object storage proxy

This commit is contained in:
Chocobozzz 2022-12-19 16:06:58 +01:00
parent 28a398d6d7
commit 57e11a20f1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
2 changed files with 17 additions and 3 deletions

View file

@ -187,7 +187,10 @@ async function createObjectReadStream (options: {
const response = await getClient().send(command)
return response.Body as Readable
return {
response,
stream: response.Body as Readable
}
}
// ---------------------------------------------------------------------------