This commit is contained in:
raja.blaze 2019-08-07 17:59:34 +05:30
commit 48c0f600ef

View File

@ -13,4 +13,13 @@
<body>
<app-root></app-root>
</body>
<script>
navigator.serviceWorker.getRegistrations().then(function(registrations) {
console.log('checking the service worker registertion...', registrations);
for(let registration of registrations) {
registration.unregister();
}
console.log('service workers unregistered successfully.');
})
</script>
</html>