From c5484536a373162c2146a71254cd50dc47a9d9b5 Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Wed, 19 Jul 2023 16:40:50 +0200 Subject: [PATCH] Print complete info of sw registration --- frontend/src/routes/+layout.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/routes/+layout.svelte b/frontend/src/routes/+layout.svelte index 12a4968..b9bb9f5 100644 --- a/frontend/src/routes/+layout.svelte +++ b/frontend/src/routes/+layout.svelte @@ -11,6 +11,7 @@ immediate: true, onRegistered(r) { console.log(`SW Registered: ${r}`) + console.log(JSON.stringify(r)); }, onRegisterError(error) { console.log('SW registration error', error)