mirror of
https://github.com/mollersuite/monofile.git
synced 2024-11-25 07:06:25 -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) {
|
||||
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)
|
||||
if (!nextChunk) return
|
||||
}
|
||||
lastChunkSent = true
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue