Skip to content

Commit

Permalink
fix: don't parse body
Browse files Browse the repository at this point in the history
  • Loading branch information
cgawron committed Apr 9, 2024
1 parent eee8465 commit ef901e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ app.use(logResponseBody);
app.use(`${PREFIX}*`,
proxy(API_URL, {
https: true,
parseBody: true,
parseBody: false,
proxyReqPathResolver: function (req) {
const path = req.baseUrl.replace(PREFIX, '/v1');
logger.debug('path: ', req.baseUrl, path);
Expand Down

0 comments on commit ef901e9

Please sign in to comment.