mirror of https://github.com/node-red/node-red.git
Fix the capitisation for ALPN settings in http-request
part of node-red/node-red#5104pull/5105/head
parent
23c44db30d
commit
261495fc2d
|
@ -586,6 +586,10 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
|||
opts.https.certificate = opts.https.cert;
|
||||
delete opts.https.cert;
|
||||
}
|
||||
if (opts.https.ALPNProtocols) {
|
||||
opts.https.alpnProtocols = opts.https.ALPNProtocols
|
||||
delete opts.https.ALPNProtocols
|
||||
}
|
||||
} else {
|
||||
if (msg.hasOwnProperty('rejectUnauthorized')) {
|
||||
opts.https = { rejectUnauthorized: msg.rejectUnauthorized };
|
||||
|
|
Loading…
Reference in New Issue