mirror of
https://git.v0l.io/Kieran/void.cat.git
synced 2025-04-02 12:08:01 +02:00
Bug fix
This commit is contained in:
parent
51b56fd4d3
commit
fd156c9b0b
@ -155,8 +155,7 @@ export function FileUpload(props) {
|
||||
calc.Reset();
|
||||
let offset = s * splitSize;
|
||||
let slice = props.file.slice(offset, offset + splitSize, props.file.type);
|
||||
let segment = await slice.arrayBuffer();
|
||||
xhr = await xhrSegment(segment, xhr?.file?.id, xhr?.file?.metadata?.editSecret, hash, s + 1, segments);
|
||||
xhr = await xhrSegment(slice, hash, xhr?.file?.id, xhr?.file?.metadata?.editSecret, s + 1, segments);
|
||||
if (!xhr.ok) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user