Skip to content

Commit

Permalink
test. createProxyMiddelware
Browse files Browse the repository at this point in the history
  • Loading branch information
eirikv committed Aug 8, 2024
1 parent 46360cc commit 2341e9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/proxy/decorator-intern-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const setup = (app: Express) => {
target: process.env.MODIACONTEXTHOLDER_URL + '/modiacontextholder/redirect',
followRedirects: false,
changeOrigin: true,
toProxy: true,
secure: false,
on: {
proxyReq: (proxyReq, req) => {
console.log('request', proxyReq.host, proxyReq.path, req.headers);
Expand Down

0 comments on commit 2341e9a

Please sign in to comment.