fix(core): download chunk request lack lack of adding offset

This commit is contained in:
johnhomwang
2025-04-14 01:12:07 +08:00
committed by alina sireneva
parent 09605d8bae
commit ad1c842a5e

View File

@@ -156,7 +156,7 @@ export async function* downloadAsIterable(
_: isWeb ? 'upload.getWebFile' : 'upload.getFile',
// eslint-disable-next-line
location: location as any,
offset: chunkSize * chunk,
offset: offset + chunkSize * chunk,
limit: chunkSize,
},
{