diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index 16b4cb950..0d919cad9 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -89,7 +89,7 @@ module.exports = function(RED) { method = msg.method.toUpperCase(); // use the msg parameter } - var isHttps = (/^https/.test(url)); + var isHttps = (/^https/i.test(url)); var opts = {}; opts.url = url;