initial commit

This commit is contained in:
root
2026-05-29 17:07:00 +02:00
commit c935e39fa1
30 changed files with 1263 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import { NextResponse } from 'next/server';
import { createSupabaseServerClient } from '@/lib/supabase/server';
export const runtime = 'nodejs';
export const dynamic = 'force-dynamic';
export async function POST() {
const supabase = createSupabaseServerClient();
await supabase.auth.signOut();
return NextResponse.redirect(
new URL('/', process.env.NEXT_PUBLIC_APP_URL ?? 'http://localhost:3000'),
{ status: 303 },
);
}