From d820686e5ac8c740d898e0e577adbbcbc922c603 Mon Sep 17 00:00:00 2001 From: Steve-Mcl Date: Mon, 24 Jun 2024 20:04:26 +0100 Subject: [PATCH] only initialise proxy if flow url is static --- .../node_modules/@node-red/nodes/core/network/21-httprequest.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js index 6561bff22..90c4134a4 100644 --- a/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js +++ b/packages/node_modules/@node-red/nodes/core/network/21-httprequest.js @@ -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")) {