fix(reliability): stabilize sync rendering and offline recovery

This commit is contained in:
Codex committed 2026-10-12 19:46:53 -06:00
1 parent 3877d4f986
commit eaa4894894
15 files changed
+131 -27

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ export default {
return Response.json({ error: "Bing wallpaper is temporarily unavailable", detail: String(error) }, { status: 502 });
}
if (url.pathname === "/addons.js") return new Response(addonsJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/local-db-worker.js") return new Response(localDbWorkerJs, { headers: headers("application/javascript; charset=utf-8", "public, max-age=31536000, immutable") });
if (url.pathname === "/local-db-worker.js") return new Response(localDbWorkerJs, { headers: headers("application/javascript; charset=utf-8", "no-cache") });
if (url.pathname === "/sqlite3.mjs") return new Response(sqliteModuleJs, { headers: headers("application/javascript; charset=utf-8", "public, max-age=31536000, immutable") });
if (url.pathname === "/sqlite3.wasm") return new Response(Uint8Array.from(atob(sqliteWasmBase64), char => char.charCodeAt(0)), { headers: headers("application/wasm", "public, max-age=31536000, immutable") });
if (url.pathname === "/service-worker.js") return new Response(serviceWorker, { headers: headers("application/javascript; charset=utf-8", "no-cache") });