Celtrix
Celtrix copied to clipboard
[FEATURE] Add security headers to the generated API
Description
The generated API is a starting point people deploy, but it may send no standard security headers (please verify with curl -I on /api/health).
Proposed solution
- Express: add
helmet - Fastify: add
@fastify/helmet - Hono: use the built-in
secureHeadersmiddleware - Keep CORS driven by
CORS_ORIGIN
Acceptance criteria
- [ ]
/api/healthreturns the standard headers for every backend option - [ ] The Vite proxy and the status screen still work
- [ ] Mention it in
CELTRIX_SETUP.md
Please assign me !
Hello Pratik Damas, Could you please assign this issue to me? I can work on it and resolve it.