mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
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:
1 parent
5c2bee79d8
commit
f61483d19b
1 file changed
-4
@@ -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/*`
|
||||
|
||||
Reference in new issue
Block a user