Compare commits

...

2 commits

Author SHA1 Message Date
e77e710983 Move splash
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-12-12 17:18:27 +01:00
7456e9825d Do not serve ancestor folder 2023-12-12 17:18:22 +01:00
3 changed files with 2 additions and 8 deletions

View file

@ -2,11 +2,11 @@
import { onMount } from 'svelte'; import { onMount } from 'svelte';
import { fade } from 'svelte/transition'; import { fade } from 'svelte/transition';
let visible = false; let visible = true;
let time = 0; let time = 0;
onMount(() => { onMount(() => {
time = 0; time = 1000;
setTimeout(() => { setTimeout(() => {
visible = false; visible = false;
}, time); }, time);

View file

Before

Width:  |  Height:  |  Size: 136 KiB

After

Width:  |  Height:  |  Size: 136 KiB

View file

@ -17,12 +17,6 @@ const config = {
precompress: false, precompress: false,
}) })
}, },
server: {
fs: {
// Allow serving files from one level up to the project root
allow: ['..'],
},
},
}; };
export default config; export default config;