diff --git a/src/common/crypto.ts b/src/common/crypto.ts index 4127af2..54f7a84 100644 --- a/src/common/crypto.ts +++ b/src/common/crypto.ts @@ -172,7 +172,7 @@ async function readFile() { const reader = new FileReader() reader.addEventListener('load', () => resolve(reader.result?.toString() ?? null)) - reader.readAsBinaryString(myFile) + reader.readAsText(myFile) }) }) }