fix: update service worker cache with missing pages and notifications service

This commit is contained in:
2026-02-07 17:20:56 +01:00
parent 54bf150d65
commit eb4e0b3118

View File

@@ -1,4 +1,4 @@
const CACHE_NAME = 'dgray-v44'; const CACHE_NAME = 'dgray-v45';
const STATIC_ASSETS = [ const STATIC_ASSETS = [
'/', '/',
'/index.html', '/index.html',
@@ -31,6 +31,7 @@ const STATIC_ASSETS = [
'/js/services/pow-captcha.js', '/js/services/pow-captcha.js',
'/js/services/btcpay.js', '/js/services/btcpay.js',
'/js/services/favorites.js', '/js/services/favorites.js',
'/js/services/notifications.js',
// Components // Components
'/js/components/app-shell.js', '/js/components/app-shell.js',
@@ -56,6 +57,9 @@ const STATIC_ASSETS = [
'/js/components/pages/page-messages.js', '/js/components/pages/page-messages.js',
'/js/components/pages/page-settings.js', '/js/components/pages/page-settings.js',
'/js/components/pages/page-not-found.js', '/js/components/pages/page-not-found.js',
'/js/components/pages/page-notifications.js',
'/js/components/pages/page-privacy.js',
'/js/components/pages/page-terms.js',
// Vendor // Vendor
'/js/vendor/cropper.min.js', '/js/vendor/cropper.min.js',