From 640c848c41030af3dfb0609f0975d999adb41d93 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sat, 13 Feb 2021 18:51:56 +0900 Subject: [PATCH] skip waiting --- src/client/sw/sw.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/sw/sw.ts b/src/client/sw/sw.ts index 7966f82c3b..7accbb2861 100644 --- a/src/client/sw/sw.ts +++ b/src/client/sw/sw.ts @@ -27,7 +27,7 @@ get('lang').then(async prelang => { //#region Lifecycle: Install self.addEventListener('install', ev => { - // Nothing to do + self.skipWaiting() }); //#endregion