From 5905735d3e5e573a35167c311352cb75af96a20e Mon Sep 17 00:00:00 2001 From: James Prevett Date: Thu, 3 Oct 2024 16:50:45 -0500 Subject: [PATCH] Update example --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 74305c2..f6e99d1 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,7 @@ const res = await fetch('http://example.com/image.iso'); await configure({ mounts: { - '/mnt/iso': { backend: Iso, data: await res.arrayBuffer() }, + '/mnt/iso': { backend: Iso, data: new Uint8Array(await res.arrayBuffer()) }, }, });