about summary refs log tree commit diff stats
path: root/js/pico-cam/service-worker.js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-07-03 21:14:39 -0400
committerelioat <elioat@tilde.institute>2024-07-03 21:14:39 -0400
commitf40782e35d1fecd07ef990974c451db00c947ca0 (patch)
treeac6445690900054b4abe947be1bed909cb811015 /js/pico-cam/service-worker.js
parentac65deb7ac209912f1aecd5b70f5e14bba588bfb (diff)
downloadtour-f40782e35d1fecd07ef990974c451db00c947ca0.tar.gz
*
Diffstat (limited to 'js/pico-cam/service-worker.js')
-rw-r--r--js/pico-cam/service-worker.js4
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(