mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] console
This commit is contained in:
parent
26c4c43a06
commit
18341d5597
@ -74,7 +74,7 @@ function XHeaders(req, socket, options) {
|
||||
*/
|
||||
function stream(req, socket, options, head) {
|
||||
common.setupSocket(socket);
|
||||
console.log(options.target.protocol);
|
||||
|
||||
var proxyReq = (~['https:', 'wss:'].indexOf(options.target.protocol) ? https : http).request(
|
||||
common.setupOutgoing(options.ssl || {}, options, req)
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user