9d32552457
Replace Vercel-specific infra (Cron, Blob) with self-hosted equivalents for deployment to Coolify: in-container cron scheduler (scripts/cron-runner.mjs) and disk-based upload storage served via /api/uploads/[...path]. Add Dockerfile, .dockerignore, and /api/health for container health checks. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
9 lines
224 B
TypeScript
9 lines
224 B
TypeScript
import { NextResponse } from "next/server";
|
|
import { COOKIE_NAME } from "@/lib/auth/session";
|
|
|
|
export async function POST() {
|
|
const res = NextResponse.json({ ok: true });
|
|
res.cookies.delete(COOKIE_NAME);
|
|
return res;
|
|
}
|