mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
@@ -146,6 +146,7 @@ module.exports = function(RED) {
|
|||||||
}
|
}
|
||||||
if (msg.hasOwnProperty('followRedirects')) {
|
if (msg.hasOwnProperty('followRedirects')) {
|
||||||
opts.followRedirect = msg.followRedirects;
|
opts.followRedirect = msg.followRedirects;
|
||||||
|
opts.followAllRedirects = !!opts.followRedirect;
|
||||||
}
|
}
|
||||||
var redirectList = [];
|
var redirectList = [];
|
||||||
if (!opts.hasOwnProperty('followRedirect') || opts.followRedirect) {
|
if (!opts.hasOwnProperty('followRedirect') || opts.followRedirect) {
|
||||||
|
Reference in New Issue
Block a user