diff --git a/backend/proxy-server/src/server/fastify.server.ts b/backend/proxy-server/src/server/fastify.server.ts index 954b956..4cb9073 100644 --- a/backend/proxy-server/src/server/fastify.server.ts +++ b/backend/proxy-server/src/server/fastify.server.ts @@ -83,11 +83,11 @@ const initialize = (server: FastifyInstance, logger: Logger) => { const addPlugins = (server: FastifyInstance) => { server.register(replyFrom, replyFromConfig); - server.addHook('preHandler', async (request) => { - (request as any).locals = { - originalContentType: request.headers['content-type'], - }; - }); + // server.addHook('preHandler', async (request) => { + // (request as any).locals = { + // originalContentType: request.headers['content-type'], + // }; + // }); }; const addRouters = (server: FastifyInstance, logger: Logger) => {