From e339287a7e9b6714d5ea4cdfd3fc80556d497e5c Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 26 Oct 2022 23:59:30 +0200 Subject: stream download proof-of-concept --- client-web/source/sw/download_stream.ts | 1 - 1 file changed, 1 deletion(-) (limited to 'client-web/source/sw/download_stream.ts') 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) -- cgit v1.2.3-70-g09d2