All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m55s
8 lines
225 B
TypeScript
8 lines
225 B
TypeScript
import type { APIRoute } from 'astro';
|
|
import { clearAuthCookie } from '../../../lib/auth';
|
|
|
|
export const POST: APIRoute = async ({ cookies }) => {
|
|
clearAuthCookie(cookies);
|
|
return new Response(null, { status: 200 });
|
|
};
|