mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-06 11:36:44 +03:00
12 lines
309 B
TypeScript
12 lines
309 B
TypeScript
import type { APIRoute } from "astro";
|
|
|
|
export const POST: APIRoute = async () => {
|
|
return new Response(JSON.stringify({ success: true }), {
|
|
status: 200,
|
|
headers: {
|
|
"Content-Type": "application/json",
|
|
"Set-Cookie": "token=; Path=/; HttpOnly; SameSite=Strict; Max-Age=0",
|
|
},
|
|
});
|
|
};
|