Skip to content

Commit

Permalink
Merge pull request #292 from boostcampwm-2024/dev-back
Browse files Browse the repository at this point in the history
Merge to main
  • Loading branch information
hyo-limilimee authored Dec 5, 2024
2 parents 6231abe + 2b40b47 commit e5ec408
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions backend/proxy-server/src/server/fastify.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit e5ec408

Please sign in to comment.