From a018bfa53063d69c6eacd2afda2194bb6a8185c6 Mon Sep 17 00:00:00 2001 From: wipedlifepotato <60944239+wipedlifepotato@users.noreply.github.com> Date: Mon, 14 Sep 2026 05:35:23 +0300 Subject: [PATCH] fix: reader.result --- contrib/webconsole/torrent_client.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/webconsole/torrent_client.html b/contrib/webconsole/torrent_client.html index 40e1889f..b2e907f0 100644 --- a/contrib/webconsole/torrent_client.html +++ b/contrib/webconsole/torrent_client.html @@ -183,7 +183,7 @@ const reader = new FileReader(); reader.onload = async () => { - const bytes = new Uint8Array(reader.arguments); + const bytes = new Uint8Array(reader.result); let binary = ""; for (let i = 0; i < bytes.byteLength; i++) { binary += String.fromCharCode(bytes[i]);