From aee875ac67e64c7ba7e6d75d201b8ff5e6c7b8f6 Mon Sep 17 00:00:00 2001 From: Rob Wu Date: Mon, 10 Jun 2013 18:38:15 +0200 Subject: [PATCH] https -> target.https --- lib/cors-anywhere.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/cors-anywhere.js b/lib/cors-anywhere.js index 17553ab..0821236 100644 --- a/lib/cors-anywhere.js +++ b/lib/cors-anywhere.js @@ -189,7 +189,9 @@ var getHandler = exports.getHandler = function(options) { proxyRequest(req, res, proxy, full_url, { host: hostname, port: port, - https: isHttps + target: { + https: isHttps + } }); } };