allow correcting file transfer data if no files were received

This commit is contained in:
marlon-erler
2026-09-05 02:26:10 +02:00
parent dbc3fd225d
commit e4d162f0ab
9 changed files with 11778 additions and 8849 deletions
Vendored
+1 -1
View File
@@ -22,7 +22,7 @@ async function getFromCache(event) {
async function fetchAndCache(event) {
const request = event.request;
const response = await fetch(request, {cache: "no-cache"});
const response = await fetch(request, { cache: "no-cache" });
if (response.status === 200) {
// Only cache successful responses
const cache = await caches.open(CACHE_VERSION);