diff options
author | elioat <elioat@tilde.institute> | 2024-07-03 21:14:39 -0400 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-07-03 21:14:39 -0400 |
commit | f40782e35d1fecd07ef990974c451db00c947ca0 (patch) | |
tree | ac6445690900054b4abe947be1bed909cb811015 /js/pico-cam/service-worker.js | |
parent | ac65deb7ac209912f1aecd5b70f5e14bba588bfb (diff) | |
download | tour-f40782e35d1fecd07ef990974c451db00c947ca0.tar.gz |
*
Diffstat (limited to 'js/pico-cam/service-worker.js')
-rw-r--r-- | js/pico-cam/service-worker.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/pico-cam/service-worker.js b/js/pico-cam/service-worker.js index a64353c..ce5271b 100644 --- a/js/pico-cam/service-worker.js +++ b/js/pico-cam/service-worker.js @@ -1,4 +1,4 @@ -var CACHE_NAME = 'pico-cam-v1'; +var CACHE_NAME = 'pico-cam-v2'; var urlsToCache = [ './', './index.html', @@ -30,7 +30,7 @@ self.addEventListener('fetch', function(event) { }); self.addEventListener('activate', function(event) { - var cacheWhitelist = ['pico-cam-v1']; + var cacheWhitelist = ['pico-cam-v2']; event.waitUntil( caches.keys().then(function(cacheNames) { return Promise.all( |