@hkdigital/lib-sveltekit 0.1.100 → 0.1.101
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -389,10 +389,10 @@ export default class IndexedDbCache {
|
|
389
389
|
|
390
390
|
let responseBody = entry.body;
|
391
391
|
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
392
|
+
if (responseBody instanceof Blob) {
|
393
|
+
// Clone the blob to ensure it's not consumed
|
394
|
+
responseBody = entry.body.slice(0, entry.body.size, entry.body.type);
|
395
|
+
}
|
396
396
|
|
397
397
|
// Create Response safely
|
398
398
|
let response;
|