fix(admin): persist data directory and pass env vars

This commit is contained in:
Schubert Ferenc 2026-07-03 22:25:04 +02:00
parent 99e8201745
commit 1d7e7c41c9
39 changed files with 1297 additions and 32 deletions

View file

@ -0,0 +1,8 @@
import { NextResponse } from "next/server";
import { adminSessionCookie } from "@/lib/admin/auth";
export async function POST() {
const response = NextResponse.json({ message: "Abgemeldet." });
response.cookies.set(adminSessionCookie, "", { path: "/", maxAge: 0 });
return response;
}