Remove service worker - not using it now

Transactions
Dan 2017-09-20 20:06:57 -06:00
parent 0911d15d88
commit 30bf9af62c
3 changed files with 0 additions and 15 deletions

View File

@ -10,7 +10,6 @@
"assets": [ "assets": [
"assets", "assets",
"favicon.ico", "favicon.ico",
"service-worker.js",
"web-app-files" "web-app-files"
], ],
"index": "index.html", "index": "index.html",

View File

@ -80,15 +80,5 @@
<p class="service-times">Wednesday Evening: 7 PM</p> <p class="service-times">Wednesday Evening: 7 PM</p>
</div> </div>
</app-root> </app-root>
<script>
if ('serviceWorker' in navigator){
navigator.serviceWorker.register('/service-worker.js').then(function(registration){
console.log('service worker registered');
}).catch(function(err){
console.log("Service worker registration failed: ",err);
});
}
</script>
</body> </body>
</html> </html>

View File

@ -1,4 +0,0 @@
self.addEventListener('install', function(event) {
// Perform install steps
console.log("installing");
});