From 18341d559717e0a86f5ee4da024109e4b5a595a7 Mon Sep 17 00:00:00 2001 From: yawnt Date: Sun, 15 Sep 2013 13:07:24 +0200 Subject: [PATCH] [fix] console --- lib/caronte/passes/ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/caronte/passes/ws.js b/lib/caronte/passes/ws.js index a143866..1fd3fd7 100644 --- a/lib/caronte/passes/ws.js +++ b/lib/caronte/passes/ws.js @@ -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) );