UI Push Deep Links und Drive Diagnose verbessern
All checks were successful
CI / Build and Deploy (push) Successful in 2m30s

This commit is contained in:
jan
2026-05-06 00:11:33 +02:00
parent f87a82e02f
commit 6dec4b8a10
23 changed files with 491 additions and 81 deletions

View File

@@ -23,7 +23,7 @@ export async function POST(request: Request) {
const parsed = subscriptionSchema.safeParse(body);
if (!parsed.success) {
return NextResponse.json({ error: "Push-Subscription ist ungueltig." }, { status: 400 });
return NextResponse.json({ error: "Push-Subscription ist ungültig." }, { status: 400 });
}
await prisma.pushSubscription.upsert({
@@ -57,7 +57,7 @@ export async function DELETE(request: Request) {
const parsed = z.object({ endpoint: z.string().url() }).safeParse(body);
if (!parsed.success) {
return NextResponse.json({ error: "Push-Subscription ist ungueltig." }, { status: 400 });
return NextResponse.json({ error: "Push-Subscription ist ungültig." }, { status: 400 });
}
await prisma.pushSubscription.deleteMany({