From 4789825012d989f542f0675f0e77228340bbacf5 Mon Sep 17 00:00:00 2001 From: Klemek Date: Fri, 14 Mar 2025 12:42:16 +0100 Subject: [PATCH] wip --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 4c9de7c..db6cfec 100644 --- a/main.js +++ b/main.js @@ -17,7 +17,7 @@ const utils = { }, }; -const MAX_CHUNK_SIZE = 10 * 1024; // 10 KB +const MAX_CHUNK_SIZE = 12 * 1024; // 10 KB const app = createApp({ data() { @@ -178,7 +178,7 @@ const app = createApp({ this.connection.send({ type: "client-done", }); - const blob = new Blob([this.buffer], { + const blob = new Blob(new Uint8Array(this.buffer), { type: "application/octet-stream", }); const link = document.createElement("a");