Resumable v2 uploads
This commit is contained in:
parent
72c6fa8884
commit
57f7dc1b16
2 changed files with 78 additions and 18 deletions
|
@ -148,7 +148,8 @@ export async function uploadFile({
|
|||
});
|
||||
} else {
|
||||
await server.putEncryptedAttachment(
|
||||
() => createReadStream(absoluteCiphertextPath),
|
||||
(start, end) => createReadStream(absoluteCiphertextPath, { start, end }),
|
||||
ciphertextFileSize,
|
||||
uploadForm
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue