From d3faf79b5735fdcfdd6a3a13894b9b1f29f0fee0 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Fri, 8 May 2026 19:23:13 +0200 Subject: [PATCH] fix: service worker registration --- web/src/app.d.ts | 1 + web/src/routes/+layout.svelte | 17 ++++++++++++++++- web/vite.config.ts | 22 +++++++++++++++++++--- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/web/src/app.d.ts b/web/src/app.d.ts index da08e6d..b1ed9a5 100644 --- a/web/src/app.d.ts +++ b/web/src/app.d.ts @@ -1,3 +1,4 @@ +/// // See https://svelte.dev/docs/kit/types#app.d.ts // for information about these interfaces declare global { diff --git a/web/src/routes/+layout.svelte b/web/src/routes/+layout.svelte index b9deb97..170bdce 100644 --- a/web/src/routes/+layout.svelte +++ b/web/src/routes/+layout.svelte @@ -1,4 +1,5 @@ + + {#if pwaInfo} + {@html pwaInfo.webManifest.linkTag} + {/if} + +