This commit is contained in:
Klemek
2025-03-14 12:42:16 +01:00
parent a6e152eb51
commit 4789825012
+2 -2
View File
@@ -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({ const app = createApp({
data() { data() {
@@ -178,7 +178,7 @@ const app = createApp({
this.connection.send({ this.connection.send({
type: "client-done", type: "client-done",
}); });
const blob = new Blob([this.buffer], { const blob = new Blob(new Uint8Array(this.buffer), {
type: "application/octet-stream", type: "application/octet-stream",
}); });
const link = document.createElement("a"); const link = document.createElement("a");