diff --git a/index.html b/index.html index 8e0ff2d..c8fa1b4 100644 --- a/index.html +++ b/index.html @@ -49,19 +49,6 @@ document.head.appendChild(e); } })(); - // load pre-caching service worker - if ('serviceWorker' in navigator) { - window.addEventListener('load', function() { - navigator.serviceWorker.register('/service-worker.js') - .then(function(registration) { - // Registration was successful - console.log('ServiceWorker registration successful with scope: ', registration.scope); - }).catch(function(err) { - // registration failed :( - console.log('ServiceWorker registration failed: ', err); - }); - }); - }