mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 00:06:18 -04:00
Fix service worker cache #226
This commit is contained in:
parent
a9f9ee7359
commit
ce8795dcb3
1 changed files with 10 additions and 9 deletions
|
@ -1,13 +1,14 @@
|
||||||
var CACHE_NAME = 'snapdrop-cache-v1.045';
|
var CACHE_NAME = 'snapdrop-cache-v2';
|
||||||
var urlsToCache = [
|
var urlsToCache = [
|
||||||
'/',
|
'index.html',
|
||||||
'/styles.css',
|
'./',
|
||||||
'/scripts/network.js',
|
'styles.css',
|
||||||
'/scripts/ui.js',
|
'scripts/network.js',
|
||||||
'/scripts/clipboard.js',
|
'scripts/ui.js',
|
||||||
'/scripts/theme.js',
|
'scripts/clipboard.js',
|
||||||
'/sounds/blop.mp3',
|
'scripts/theme.js',
|
||||||
'/images/favicon-96x96.png'
|
'sounds/blop.mp3',
|
||||||
|
'images/favicon-96x96.png'
|
||||||
];
|
];
|
||||||
|
|
||||||
self.addEventListener('install', function(event) {
|
self.addEventListener('install', function(event) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue