We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac425d7 commit 57127a3Copy full SHA for 57127a3
bin/node-http-proxy
@@ -43,9 +43,9 @@ if (argv.config) {
43
//
44
// If `config.https` is set, then load those files into the config options.
45
46
-if (options.config) {
47
- Object.keys(options.config).forEach(function (key) {
48
- 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');
49
});
50
}
51
0 commit comments