use js function to encode

This commit is contained in:
Toshit Chawda 2024-07-26 22:24:25 -07:00
parent 11a0c09179
commit eebefbc070
No known key found for this signature in database
GPG key ID: 91480ED99E2B3D9D
7 changed files with 41 additions and 17 deletions

View file

@ -157,7 +157,7 @@ window.addEventListener("load", async () => {
return btoa(binary);
}
const arraybuffer = await (await fetch("/scramjet.png")).arrayBuffer();
const arraybuffer = await (await fetch("/assets/scramjet.png")).arrayBuffer();
console.log(
"%cb",
`