Add mailing prototype #4

Merged
erman merged 7 commits from supabase into main 2025-06-22 17:48:47 +02:00
2 changed files with 11 additions and 1 deletions
Showing only changes of commit fd12f22aa7 - Show all commits

View File

@@ -0,0 +1,11 @@
<script lang="ts">
import { onMount } from 'svelte';
import { goto } from '$app/navigation';
onMount(() => {
localStorage.clear();
goto('/');
});
</script>
<p>Signing out...</p>

View File

@@ -6,5 +6,4 @@ export const GET: RequestHandler = async ({ locals }) => {
if (locals.supabase) {
await locals.supabase.auth.signOut();
}
throw redirect(303, '/');
};