1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

Co-Authored-By: Nick O'Leary <nick.oleary@gmail.com>
This commit is contained in:
btsimonh 2019-11-18 17:03:59 +00:00 committed by GitHub
parent aa86cfc55f
commit b4e2061e85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,7 +89,7 @@ module.exports = function(RED) {
method = msg.method.toUpperCase(); // use the msg parameter method = msg.method.toUpperCase(); // use the msg parameter
} }
var isHttps = (/^https/.test(url)); var isHttps = (/^https/i.test(url));
var opts = {}; var opts = {};
opts.url = url; opts.url = url;