import type { RequestHandler } from '@sveltejs/kit';
import { clearBeatLeaderSession } from '$lib/server/beatleaderAuth';

export const POST: RequestHandler = async ({ cookies }) => {
  clearBeatLeaderSession(cookies);
  return new Response(JSON.stringify({ ok: true }), { headers: { 'content-type': 'application/json' } });
};


