Add mailing prototype #4

Merged
erman merged 7 commits from supabase into main 2025-06-22 17:48:47 +02:00
Showing only changes of commit a925fd70f5 - Show all commits

View File

@@ -0,0 +1,10 @@
import type { RequestHandler } from './$types';
import { redirect } from '@sveltejs/kit';
export const GET: RequestHandler = async ({ locals }) => {
// If using supabase-js client on the server, you can sign out here
if (locals.supabase) {
await locals.supabase.auth.signOut();
}
throw redirect(303, '/');
};