576 B
576 B
F-097 — Implementer evidence
- Fixed the admin catch-all POST proxy: it no longer sends
Content-Type: application/jsonwhen the request has no body. - This allows
POST /api/products/:id/generate-seoto reach the backend; previously Fastify rejected the empty request withFST_ERR_CTP_EMPTY_JSON_BODY(400). - Rebuilt and restarted the production monolith.
Validation:
- Admin production build: exit 0
- Authenticated
/api/admin/settings: HTTP 200 - Authenticated empty-body SEO request: HTTP 422
AI_NOT_CONFIGUREDwith actionable message (instead of HTTP 400)