only initialise proxy if flow url is static

This commit is contained in:
Steve-Mcl 2024-06-24 20:04:26 +01:00
parent aa2a585e00
commit d820686e5a

View File

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