From 9e5221bf9af550d2145031b45acabf83a530bd8c Mon Sep 17 00:00:00 2001 From: posimai Date: Fri, 10 Apr 2026 14:17:03 +0900 Subject: [PATCH] fix: add skipWaiting to sw.js Co-Authored-By: Claude Sonnet 4.6 --- sw.js | 1 + 1 file changed, 1 insertion(+) diff --git a/sw.js b/sw.js index 466331b..6043c3c 100644 --- a/sw.js +++ b/sw.js @@ -3,6 +3,7 @@ const STATIC = ['/', '/index.html', '/manifest.json', '/logo.png', '/atlas.json' self.addEventListener('install', e => { e.waitUntil(caches.open(CACHE).then(c => c.addAll(STATIC))); + self.skipWaiting(); }); self.addEventListener('activate', e => {