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

Support cover when downloading audio

This commit is contained in:
Chocobozzz 2024-08-08 10:33:41 +02:00
parent 6d28305582
commit 658241d8c6
No known key found for this signature in database
GPG key ID: 583A612D890159BE
5 changed files with 64 additions and 15 deletions

View file

@ -191,7 +191,7 @@ export function isBinaryResponse (result: Response<any>) {
// ---------------------------------------------------------------------------
function buildGotOptions (options: PeerTubeRequestOptions): OptionsOfUnknownResponseBody {
const { activityPub, bodyKBLimit = 1000 } = options
const { activityPub, bodyKBLimit = 3000 } = options
const context = { bodyKBLimit, httpSignature: options.httpSignature }