fix(sw): repair the service-worker version fallback after the release merge

The changelog merge left conflict markers inside the CACHE_VERSION
assignment. The version generator only rewrites the version string, so
it could not repair the broken structure, and every service-worker test
failed while both branches were green on their own.
This commit is contained in:
Marc-André Bombeck committed 2026-07-19 05:37:23 +02:00
1 parent 5c2bee79d8
commit f61483d19b
1 file changed
-4
-4
View File
@@ -36,11 +36,7 @@ try {
// v1.4.38.4 → v1.4.42. Do not hand-edit; bump `package.json` and rebuild.
const CACHE_VERSION =
(typeof self !== "undefined" && self.__APP_VERSION__) ||
<<<<<<< HEAD
/* @sw-version-fallback */ "v1.30.28";
=======
/* @sw-version-fallback */ "v1.30.27";
>>>>>>> main
const STATIC_CACHE = `healthlog-static-${CACHE_VERSION}`;
const PAGE_CACHE = `healthlog-pages-${CACHE_VERSION}`;
// v1.18.6 — read-only data cache for a curated allowlist of safe GET `/api/*`