mirror of
https://github.com/http-party/node-http-proxy.git
synced 2025-12-08 20:59:18 +00:00
[fix] Fix typo in bin/node-http-proxy
This commit is contained in:
parent
ac425d70ef
commit
57127a3671
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user