mirror of
https://github.com/node-red/node-red.git
synced 2025-12-27 07:31:07 +01:00
Remove http.servername as got doesn't support
This commit is contained in:
@@ -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 };
|
||||
|
||||
Reference in New Issue
Block a user