freeCodeCamp/api/src/plugins
Oliver Eyton-Williams 5e17868c74
fix(api): allow fastify to set content-type dynamically (#50248)
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.
2023-05-02 10:15:31 -07:00
..
cors.ts feat(api): add CORS headers (#50120) 2023-04-26 09:02:12 +02:00
fastify-jwt-authz.test.ts chore(api): compile TS into /dist (#49812 2023-03-28 19:42:20 +05:30
fastify-jwt-authz.ts chore(api): compile TS into /dist (#49812 2023-03-28 19:42:20 +05:30
fastify-sentry.ts feat(api): swap to immobiliarelabs sentry plugin (#50041) 2023-04-17 13:10:23 -07:00
security.ts fix(api): allow fastify to set content-type dynamically (#50248) 2023-05-02 10:15:31 -07:00
session-auth.ts chore(api): compile TS into /dist (#49812 2023-03-28 19:42:20 +05:30