From 57127a367193bcf12be2b367e1e01cbc57d685fe Mon Sep 17 00:00:00 2001 From: indexzero Date: Tue, 26 Apr 2011 18:52:58 -0400 Subject: [PATCH] [fix] Fix typo in bin/node-http-proxy --- bin/node-http-proxy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/node-http-proxy b/bin/node-http-proxy index 7c0f4f8..c165b1e 100755 --- a/bin/node-http-proxy +++ b/bin/node-http-proxy @@ -43,9 +43,9 @@ if (argv.config) { // // If `config.https` is set, then load those files into the config options. // -if (options.config) { - Object.keys(options.config).forEach(function (key) { - options.config[key] = fs.readFileSync(options.config[key], 'utf8'); +if (config.https) { + Object.keys(config.https).forEach(function (key) { + config.https[key] = fs.readFileSync(config.https[key], 'utf8'); }); }