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
No known key found for this signature in database
GPG Key ID: 81B04231572A9A2D
1 changed files with 1 additions and 0 deletions

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) {