fix: リダイレクト処理の改善

This commit is contained in:
moris 2024-12-01 21:34:53 +09:00
parent 0bdc00d567
commit 422d2ca2a4

View File

@ -1,5 +1,11 @@
<svelte:head> <script>
<meta http-equiv="Refresh" content="0; URL=0" /> import { goto } from "$app/navigation";
</svelte:head> import { onMount } from "svelte";
import { base } from '$app/paths'
onMount(() => {
goto(`${base}/0`)
})
</script>
To show posts, click <a href="/blog/0">here</a> To show posts, click <a href="/blog/0">here</a>