mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 15:34:26 +01:00
Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js
Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
@@ -586,6 +586,8 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
||||
opts.https.certificate = opts.https.cert;
|
||||
delete opts.https.cert;
|
||||
}
|
||||
// The got library uses a different case for some https properties compared to the
|
||||
// standard node tls options object.
|
||||
if (opts.https.ALPNProtocols) {
|
||||
opts.https.alpnProtocols = opts.https.ALPNProtocols
|
||||
delete opts.https.ALPNProtocols
|
||||
|
||||
Reference in New Issue
Block a user