mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-22 05:46:26 -08:00
i don't even know
This commit is contained in:
parent
f3e9f58ea4
commit
edc3e2c719
|
@ -476,8 +476,10 @@ export default class Files {
|
||||||
|
|
||||||
while (response) {
|
while (response) {
|
||||||
let nextChunk = await getNextChunk()
|
let nextChunk = await getNextChunk()
|
||||||
|
// idk why this line was below but i moved it on top
|
||||||
|
// hopefully it wasn't for some other weird reason
|
||||||
|
if (!nextChunk || typeof nextChunk == "string") return
|
||||||
response = await pushWebStream(this, nextChunk)
|
response = await pushWebStream(this, nextChunk)
|
||||||
if (!nextChunk) return
|
|
||||||
}
|
}
|
||||||
lastChunkSent = true
|
lastChunkSent = true
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue