mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
All three POST handlers (/api/state, /api/restore, /api/history-svg) now use a shared readBody() helper that enforces a 10MB limit and returns 413 if exceeded, preventing memory exhaustion from oversized requests. Bumps @next-ai-drawio/mcp-server to 0.1.19.