fix chromium
Msrc/client-index.ts
@@ -53,8 +53,8 @@ async function uploadFile() {
return
}
const content = await file.bytes()
const encryptedContent = await encrypt(content, password)
const content = await file.arrayBuffer()
const encryptedContent = await encrypt(new Uint8Array(content), password)
const myFile = new File([encryptedContent], file.name)
const dataTransfer = new DataTransfer()