fix chromium

AuthorKonata <konata@posteo.jp>
Date
Commit4aa33599156fb2e541052cd68447c072f28ea250
Parentc6b5de4
1 file changed, 2 insertions(+), 2 deletions(-)
▾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()