mirror of https://github.com/node-red/node-red.git
Remove http.servername as got doesn't support
parent
f3b47c5659
commit
0b271f1185
|
@ -592,6 +592,10 @@ in your Node-RED user directory (${RED.settings.userDir}).
|
|||
opts.https.alpnProtocols = opts.https.ALPNProtocols
|
||||
delete opts.https.ALPNProtocols
|
||||
}
|
||||
// The got library doesn't support servername at this time
|
||||
if (opts.https.servername) {
|
||||
delete opts.https.servername
|
||||
}
|
||||
} else {
|
||||
if (msg.hasOwnProperty('rejectUnauthorized')) {
|
||||
opts.https = { rejectUnauthorized: msg.rejectUnauthorized };
|
||||
|
|
Loading…
Reference in New Issue