From 38f05532d9e458ff5b5cfa4cd8c50b9da0e1a2a0 Mon Sep 17 00:00:00 2001 From: mihaisc Date: Mon, 1 Aug 2022 19:45:01 +0300 Subject: [PATCH] Delete sw.js --- sw.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 sw.js diff --git a/sw.js b/sw.js deleted file mode 100644 index 2eaf6d57..00000000 --- a/sw.js +++ /dev/null @@ -1,13 +0,0 @@ -self.addEventListener('install', function(e) { - self.skipWaiting(); -}); - -self.addEventListener('activate', function(e) { - self.registration.unregister() - .then(function() { - return self.clients.matchAll(); - }) - .then(function(clients) { - clients.forEach(client => client.navigate(client.url)) - }); -});