summaryrefslogtreecommitdiff
path: root/client-web/source/sw/download_stream.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-10-26 23:59:30 +0200
committermetamuffin <metamuffin@disroot.org>2022-10-26 23:59:30 +0200
commite339287a7e9b6714d5ea4cdfd3fc80556d497e5c (patch)
treefbfa6fc44224898037d66001e8b2a0497ac5ba6a /client-web/source/sw/download_stream.ts
parent2a83c8bdbdd5a67b6068420520e83524f4a6f6bd (diff)
downloadkeks-meet-e339287a7e9b6714d5ea4cdfd3fc80556d497e5c.tar
keks-meet-e339287a7e9b6714d5ea4cdfd3fc80556d497e5c.tar.bz2
keks-meet-e339287a7e9b6714d5ea4cdfd3fc80556d497e5c.tar.zst
stream download proof-of-concept
Diffstat (limited to 'client-web/source/sw/download_stream.ts')
-rw-r--r--client-web/source/sw/download_stream.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/client-web/source/sw/download_stream.ts b/client-web/source/sw/download_stream.ts
index 4eaf382..2a8049d 100644
--- a/client-web/source/sw/download_stream.ts
+++ b/client-web/source/sw/download_stream.ts
@@ -46,7 +46,6 @@ export function StreamDownload(size: number, filename?: string, progress?: (posi
const reader = new FileReader();
reader.onload = function (event) {
const arr = new Uint8Array(event.target!.result as ArrayBuffer);
- console.log("send", arr);
port1.postMessage(arr)
position += arr.length
if (progress) progress(position)