commit ce8795dcb36107b026083c72d306e8961193e1de
parent a9f9ee73599b19feefe131bbf14a0ef97505e040
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date: Tue, 29 Dec 2020 20:08:23 +0100
Fix service worker cache #226
Diffstat:
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/client/service-worker.js b/client/service-worker.js
@@ -1,13 +1,14 @@
-var CACHE_NAME = 'snapdrop-cache-v1.045';
+var CACHE_NAME = 'snapdrop-cache-v2';
var urlsToCache = [
- '/',
- '/styles.css',
- '/scripts/network.js',
- '/scripts/ui.js',
- '/scripts/clipboard.js',
- '/scripts/theme.js',
- '/sounds/blop.mp3',
- '/images/favicon-96x96.png'
+ 'index.html',
+ './',
+ 'styles.css',
+ 'scripts/network.js',
+ 'scripts/ui.js',
+ 'scripts/clipboard.js',
+ 'scripts/theme.js',
+ 'sounds/blop.mp3',
+ 'images/favicon-96x96.png'
];
self.addEventListener('install', function(event) {