Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hofmeister committed Jan 2, 2024
1 parent 23e0d10 commit 420689b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,6 @@ export const createProxyRoute = async (
limit: '1000mb',
preserveHostHdr: false,
parseReqBody: false,
memoizeHost: false,
proxyErrorHandler: function (err, res, next) {
console.error('Proxy error: %s', err.message);
next(err);
},
proxyReqOptDecorator: function (proxyReqOpts, srcReq) {
if (proxyReqOpts.headers) {
delete proxyReqOpts.headers['connection'];
Expand Down

0 comments on commit 420689b

Please sign in to comment.