Shioriko/web/app/src/routes/auth/logout/+page.svelte

11 lines
213 B
Svelte

<script>
import { token } from "$lib/stores";
import { goto } from "$app/navigation";
import { onMount } from "svelte";
onMount(() => {
token.set("");
goto("/");
});
</script>