Remove dead jsonLimitForPath abstraction
jsonLimitForPath() ignores its path argument and always returns "50mb", and the per-request middleware wrapper re-invokes express.json() on every request for no effect. Replace with a single static express.json() mount. Behaviour is identical; if per-path body limits are wanted later, happy to implement them properly against a list of routes. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Repository | open-legal-products/mike |
|---|---|
| Author | b1rdmania <102524336+b1rdmania@users.noreply.github.com> |
| Authored | |
| Parents | e89d3230 |
| Stats | 1 file changed , +1 , -7 |
| Part of | Simplify JSON body parsing |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-ef80cc70.md
from inside the repo you want the change in.