Skip to content

Commit

Permalink
Fix service worker cache SnapDrop#226
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinLinus committed Dec 29, 2020
1 parent a9f9ee7 commit ce8795d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions client/service-worker.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit ce8795d

Please sign in to comment.