Update pwabuilder-sw.js

Former-commit-id: a678a5ef4ddeb54900426d73ad47d3f8068329e3 [formerly 672f98c341e2802420c0fc48a5e0b554c7dafd97] [formerly 8369e0ddb20f4a6b0ff2b517e38aeea935d1a3d2] [formerly 22ca5ef4f6cd8220f86c0e62c071d8af52bf1b01 [formerly 600ba1ff49c4754606ceb74dadee59e6e97d893b [formerly fe18c2bbfc1caa3d5edb5095d3fcce905aafa8ee]]]
Former-commit-id: 24f011c4f3af54c1d3527f0f8332345c90a28cf6 [formerly 9fc551f6a44b70f443ec31502b3131c8da7682f9 [formerly 57b08d5cc89f430eb301198f243b2efba21ce46f]]
Former-commit-id: 52e7e774ab351f04343279412cb86b4e8e6c7a3f [formerly 718615805aba159c460431efdaa34f08c5343687]
Former-commit-id: f0336b51ef28a2aa54f32ccb1f556623e3c25b40
This commit is contained in:
Jaifroid 2021-12-28 09:03:45 +00:00
parent 199d6cbc48
commit 9063810eed

View File

@ -1,9 +1,9 @@
// Self-destroying service-worker - see https://github.com/NekR/self-destroying-sw
// If you want new SW to activate immediately, use below
// self.addEventListener('install', function (e) {
// self.skipWaiting();
// });
// We activate SW immediately in order to avoid a three-stage upgrade process
self.addEventListener('install', function (e) {
self.skipWaiting();
});
self.addEventListener('activate', function (e) {
self.registration.unregister().then(function () {