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:
parent
28a398d6d7
commit
57e11a20f1
2 changed files with 17 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue