From b18f26801082a49e73035bd7fabdd25eea51a281 Mon Sep 17 00:00:00 2001 From: Spythere Date: Tue, 15 Nov 2022 13:01:49 +0100 Subject: [PATCH] Poprawka SW --- src/main.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index d37a0b9..08ebd05 100644 --- a/src/main.ts +++ b/src/main.ts @@ -9,8 +9,9 @@ const intervalMS = 1 * 60 * 1000; const updateSW = registerSW({ onNeedRefresh() { - console.log('Need refresh - test'); + console.log('Refreshing page...'); }, + onOfflineReady() { console.log('Offline ready'); },