mirror of https://github.com/node-red/node-red.git
Update packages/node_modules/@node-red/nodes/core/network/21-httprequest.js
Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>pull/2372/head
parent
aa86cfc55f
commit
b4e2061e85
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue