reenabling serviceworker hopefully

This commit is contained in:
Kasper Rynning-Tønnesen
2016-08-13 17:49:03 +02:00
parent c3189d6e30
commit 0600486bd8
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
var version = 'v2.4 ';
var version = 'v2.5 ';
var CACHE_FILES = [
'https://chart.googleapis.com/chart?chs=150x150&cht=qr&chl=https://zoff.no/&choe=UTF-8&chld=L%7C1',
'https://fonts.googleapis.com/icon?family=Material+Icons',

File diff suppressed because one or more lines are too long

View File

@@ -69,7 +69,7 @@ if (navigator.serviceWorker) {
console.error(e);
});
navigator.serviceWorker.getRegistration('/').then(function(registration) {
registration.unregister();
registration.update();
});
} else {
console.log('Service Worker is not supported in this browser.');