mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use correct header collection for forwarding
This commit is contained in:
parent
59fa76a42f
commit
06b287d4d4
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ function createProxyRequest(hostname, req, res, requestHandler) {
|
||||||
port: 443,
|
port: 443,
|
||||||
path: req.url,
|
path: req.url,
|
||||||
method: req.method,
|
method: req.method,
|
||||||
headers: { ...req.headers },
|
headers: { ...headers },
|
||||||
};
|
};
|
||||||
|
|
||||||
const httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy;
|
const httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue