diff options
Diffstat (limited to 'misc/dist/html/service-worker.js')
-rw-r--r-- | misc/dist/html/service-worker.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/misc/dist/html/service-worker.js b/misc/dist/html/service-worker.js index a5da7482f4..5211873e0b 100644 --- a/misc/dist/html/service-worker.js +++ b/misc/dist/html/service-worker.js @@ -160,8 +160,6 @@ self.addEventListener('message', (event) => { caches.delete(CACHE_NAME); } else if (msg === 'update') { self.skipWaiting().then(() => self.clients.claim()).then(() => self.clients.matchAll()).then((all) => all.forEach((c) => c.navigate(c.url))); - } else { - onClientMessage(event); } }); }); |