Vollständige Next.js 16 Webanwendung als Logbuch für die Sternwarte Welzheim. 4 Kuppeln (West/Ost/Süd/Pluto), BEO-basierte Authentifizierung mit erzwungenem Passwort-Wechsel beim Erstlogin, MySQL-Backend, Docker-Deployment. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
8 lines
192 B
TypeScript
8 lines
192 B
TypeScript
import { NextResponse } from 'next/server';
|
|
import { deleteSession } from '@/lib/session';
|
|
|
|
export async function POST() {
|
|
await deleteSession();
|
|
return NextResponse.json({ ok: true });
|
|
}
|