mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix: allow fastify to set content-type dynamically We can set content-type: application/json for specific routes, but doing so ends up with confusing, over-engineered code. Instead we should take care when auditing the endpoints. |
||
|---|---|---|
| .. | ||
| db | ||
| middleware | ||
| plugins | ||
| routes | ||
| schemas | ||
| utils | ||
| app.ts | ||
| server.test.ts | ||
| server.ts | ||