4b5d3bd4982ac23052db0c460ac105564c6428cf
Next.js middleware buffers the entire request body (10MB default limit) before the route handler runs. middlewareClientMaxBodySize experimental flag doesn't work reliably with standalone output. Solution: exclude api/compress-pdf from middleware matcher so the body streams directly to the route handler. Auth check moved to a shared helper (auth-check.ts) called at the start of each route. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
pre-launch hardening: Address Book type sort, Hot Desk proportions, TVA calculator, ROADMAP Phase 4B
Description
No description provided
Languages
TypeScript
98.7%
PLpgSQL
0.4%
Shell
0.3%
Dockerfile
0.2%
CSS
0.2%
Other
0.1%