Compare commits

...

4 commits

Author SHA1 Message Date
ba2a25f088 Add lang it
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-19 16:40:56 +02:00
c5484536a3 Print complete info of sw registration 2023-07-19 16:40:50 +02:00
27452b23e9 missing time var 2023-07-19 16:40:41 +02:00
8cf8b74a26 Add trailing new line 2023-07-19 16:34:14 +02:00
4 changed files with 6 additions and 2 deletions

View file

@ -3,8 +3,10 @@
import { fade } from 'svelte/transition';
let visible = false;
let time = 0;
onMount(() => {
time = 0;
setTimeout(() => {
visible = false;
}, time);

View file

@ -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)

View file

@ -13,6 +13,7 @@ const config = {
start_url: '/',
background_color: "#213c8b",
theme_color: "#de0e1b",
lang: 'it',
name: "PianelloExperience",
display: "fullscreen",
short_name: "PianelloExperience",