mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
re-add return to http request (removed in error)
This commit is contained in:
parent
e69e5b4f50
commit
790d6912fd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user