Add initlal service-worker with basic offline handling. Manifest is not yet present.

This commit is contained in:
2026-05-13 20:47:01 +01:00
parent 0ef9e5b56f
commit bc56e66178
3 changed files with 91 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
</div>
{/if}
{#if $page.error?.owlCode === 'NETWORK_DISCONNECTED'}
{#if page.error?.owlCode === 'NETWORK_DISCONNECTED'}
<Button onclick={() => window.location.reload()} color={'accent'}>Retry</Button>
{:else}
<Button href={'/'} color={'accent'}>Return to Home</Button>