Update service-worker.js

This commit is contained in:
FURK4NGG
2025-02-18 16:05:57 +03:00
committed by GitHub
parent e08a05117c
commit ddcdc89137
+2 -2
View File
@@ -1,4 +1,4 @@
const CACHE_NAME = 'my-site-cache-v4'; const CACHE_NAME = 'my-site-cache-v3';
const urlsToCache = [ const urlsToCache = [
'/', '/',
'/index.html', '/index.html',
@@ -33,7 +33,7 @@ const urlsToCache = [
'/.htaccess.txt' '/.htaccess.txt'
]; ];
const CURRENT_VERSION = 'v27'; const CURRENT_VERSION = 'v28';
// Install event - cache files // Install event - cache files
self.addEventListener('install', event => { self.addEventListener('install', event => {