admGitAICDS e22f2cfa2b
Deploy App / deploy (push) Successful in 1m10s
Fix: PDF-Bericht -- CJS-Interop, Leerseiten und sichtbare Fehler
1) pdfkit wird als externes CJS-Modul geladen. Je nach Interop kommt der
Konstruktor direkt oder unter .default an -- trifft man die falsche Form,
gelingt der Import, aber `new PDFDocument()` scheitert erst zur Laufzeit
(passt zum gemeldeten 500: unauth. Aufruf gab 401, die Erzeugung 500).
Beide Formen werden jetzt akzeptiert.

2) Die Fusszeile stand unterhalb des Satzspiegels -- pdfkit haengt dafuer
automatisch Seiten an. Ein Bericht mit 6 Inhaltsseiten wurde so auf 18
aufgeblaeht. Unterer Rand wird fuers Schreiben auf 0 gesetzt; ein Test
prueft jetzt die Seitenzahl im FERTIGEN PDF, nicht davor.

3) Rendern und Speichern melden ihre Ursache statt eines nackten 500.

Spezifikation unveraendert, 1 Test ergaenzt (221 -> 222).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 09:15:01 +02:00
2026-07-21 08:30:18 +02:00
2026-07-21 08:30:18 +02:00
2026-07-21 08:30:18 +02:00
2026-07-21 08:30:18 +02:00
2026-07-21 08:30:18 +02:00

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

S
Description
No description provided
Readme 9.9 MiB
Languages
TypeScript 99.1%
CSS 0.8%