mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Use original notation
This commit is contained in:
parent
910276deeb
commit
855f6a417f
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ function createProxyRequest(hostname, req, res) {
|
||||||
};
|
};
|
||||||
|
|
||||||
if (options.headers && "host" in options.headers) {
|
if (options.headers && "host" in options.headers) {
|
||||||
delete options.headers["host"];
|
delete options.headers.host;
|
||||||
}
|
}
|
||||||
|
|
||||||
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