Skip to content

Commit

Permalink
only initialise proxy if flow url is static
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve-Mcl committed Jun 24, 2024
1 parent aa2a585 commit d820686
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ in your Node-RED user directory (${RED.settings.userDir}).
}
return getProxyForUrl(url, proxyOptions)
}
let prox = getProxy(nodeUrl || '')
let prox = nodeUrl ? getProxy(nodeUrl) : null

let timingLog = false;
if (RED.settings.hasOwnProperty("httpRequestTimingLog")) {
Expand Down

0 comments on commit d820686

Please sign in to comment.