Compare commits

...

3 commits

Author SHA1 Message Date
2779333758 pre render true
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-19 18:08:23 +02:00
6aea39b08c Update build info
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-19 17:29:36 +02:00
631c9b75f9 add register false 2023-07-19 17:29:16 +02:00
3 changed files with 5 additions and 1 deletions

View file

@ -23,4 +23,4 @@ pipeline:
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
branches: main branches: maybeitworked

View file

@ -3,6 +3,7 @@
import { onMount } from 'svelte' import { onMount } from 'svelte'
import BottomAppBar from '$lib/components/BottomAppBar.svelte'; import BottomAppBar from '$lib/components/BottomAppBar.svelte';
$: webManifestLink = pwaInfo ? pwaInfo.webManifest.linkTag : '' $: webManifestLink = pwaInfo ? pwaInfo.webManifest.linkTag : ''
export const prerender = true;
onMount(async () => { onMount(async () => {
if (pwaInfo) { if (pwaInfo) {

View file

@ -5,6 +5,9 @@ import { vitePreprocess } from '@sveltejs/kit/vite';
const config = { const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
serviceWorker: {
register: false,
},
adapter: adapter({ adapter: adapter({
fallback: null, fallback: null,
precompress: true, precompress: true,