fix: correct stale data-layer references in manifest and SW cache
release-manifest.json still pointed "dataLayer" at the removed data-layer-v1771.js instead of the actually-loaded v1773. service-worker.js's offline cache list never included auth-security-v1774.js, order-enhancements-v1775.js or login-signature-v1776.js despite performance.js loading all three at runtime - PWA/offline mode could serve a stale or missing module. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
a98e636937
commit
60d00e9f56
@ -360,7 +360,7 @@
|
|||||||
"offerTwoCustomGalleryPhotos": true,
|
"offerTwoCustomGalleryPhotos": true,
|
||||||
"offerWorkspaceModule": "core/offer-workspace-v1769.js",
|
"offerWorkspaceModule": "core/offer-workspace-v1769.js",
|
||||||
"architectureFoundation": true,
|
"architectureFoundation": true,
|
||||||
"dataLayer": "core/data-layer-v1771.js",
|
"dataLayer": "core/data-layer-v1773.js",
|
||||||
"serverOrderAutomation": true,
|
"serverOrderAutomation": true,
|
||||||
"serverOrderAutomationCron": "every minute",
|
"serverOrderAutomationCron": "every minute",
|
||||||
"serverOrderTimezoneColumn": true,
|
"serverOrderTimezoneColumn": true,
|
||||||
|
|||||||
@ -2,7 +2,7 @@ const CACHE='sun-catering-pwa-v78-20260909-v17-7-3-clients-server-read';
|
|||||||
const VERSION='20260909-v17-7-3-clients-server-read';
|
const VERSION='20260909-v17-7-3-clients-server-read';
|
||||||
const CORE=[
|
const CORE=[
|
||||||
'./','./index.html',
|
'./','./index.html',
|
||||||
`./core/sun-safe.js?v=${VERSION}`,`./core/performance.js?v=${VERSION}`,`./core/data-layer-v1773.js?v=${VERSION}`,`./core/server-automation-v1770.js?v=${VERSION}`,`./core/hotfix-v1763.js?v=${VERSION}`,`./core/ops-ux-v1762.js?v=${VERSION}`,`./core/ux-fixes-v1764.js?v=${VERSION}`,`./core/pdf-engine.js?v=${VERSION}`,`./core/classic-offer-pdf-v1767.js?v=${VERSION}`,`./core/developer-console-v1768.js?v=${VERSION}`,`./core/offer-workspace-v1769.js?v=${VERSION}`,`./legacy/bootstrap.js?v=${VERSION}`,`./app-runtime.js?v=${VERSION}`,
|
`./core/sun-safe.js?v=${VERSION}`,`./core/performance.js?v=${VERSION}`,`./core/data-layer-v1773.js?v=${VERSION}`,`./core/server-automation-v1770.js?v=${VERSION}`,`./core/hotfix-v1763.js?v=${VERSION}`,`./core/ops-ux-v1762.js?v=${VERSION}`,`./core/ux-fixes-v1764.js?v=${VERSION}`,`./core/pdf-engine.js?v=${VERSION}`,`./core/classic-offer-pdf-v1767.js?v=${VERSION}`,`./core/developer-console-v1768.js?v=${VERSION}`,`./core/offer-workspace-v1769.js?v=${VERSION}`,`./core/auth-security-v1774.js?v=${VERSION}`,`./core/order-enhancements-v1775.js?v=${VERSION}`,`./core/login-signature-v1776.js?v=${VERSION}`,`./legacy/bootstrap.js?v=${VERSION}`,`./app-runtime.js?v=${VERSION}`,
|
||||||
'./offer-gallery/001.jpg','./offer-gallery/002.jpg',
|
'./offer-gallery/001.jpg','./offer-gallery/002.jpg',
|
||||||
'./catalog/001.jpg','./catalog/002.jpg','./catalog/003.jpg',
|
'./catalog/001.jpg','./catalog/002.jpg','./catalog/003.jpg',
|
||||||
'./sun-logo.png','./caterium-login-logo.png','./pwa-icon-192.png','./pwa-icon-512.png','./manifest.webmanifest',
|
'./sun-logo.png','./caterium-login-logo.png','./pwa-icon-192.png','./pwa-icon-512.png','./manifest.webmanifest',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user