Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js

Co-authored-by: Nick O'Leary <nick.oleary@gmail.com>
pull/5105/head
Ben Hardill 2025-04-14 13:27:02 +01:00 committed by GitHub
parent 261495fc2d
commit f3b47c5659
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -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