not need to clone
Browse files
code.js
CHANGED
@@ -183,7 +183,7 @@ async function fetchArrayBuffer(url) {
|
|
183 |
return new Uint8Array(data);
|
184 |
}
|
185 |
const res = await fetch(url, { cache: "force-cache" });
|
186 |
-
cache.put(url, res
|
187 |
return new Uint8Array(await res.arrayBuffer());
|
188 |
}
|
189 |
|
|
|
183 |
return new Uint8Array(data);
|
184 |
}
|
185 |
const res = await fetch(url, { cache: "force-cache" });
|
186 |
+
cache.put(url, res);
|
187 |
return new Uint8Array(await res.arrayBuffer());
|
188 |
}
|
189 |
|