re-add return to http request (removed in error)

This commit is contained in:
Dave Conway-Jones
2017-05-20 02:35:41 +01:00
parent e69e5b4f50
commit 790d6912fd

View File

@@ -53,6 +53,7 @@ module.exports = function(RED) {
}
if (!url) {
node.error(RED._("httpin.errors.no-url"),msg);
return;
}
// url must start http:// or https:// so assume http:// if not set
if (url.indexOf("://") !== -1 && url.indexOf("http") !== 0) {