correct the comments in proxy setting

This commit is contained in:
Jason 2025-03-05 11:27:20 +08:00
parent b4548a12cb
commit 0c94d7863e

View file

@ -354,13 +354,8 @@ export class LmChatOpenAi implements INodeType {
configuration.baseURL = credentials.url as string; configuration.baseURL = credentials.url as string;
} }
// process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
// set ODE_TLS_REJECT_UNAUTHORIZED to '0' value in order to skip SSL trust issue(i.e. self cert) // set ODE_TLS_REJECT_UNAUTHORIZED to '0' value in order to skip SSL trust issue(i.e. self cert)
// e.g. if you use ProxyMan, you can add the following two values in your n8n config file, i.e. ~/.n8n/config: // This works by setting the value in terminal as following:
// "https_proxy":"http://127.0.0.1:9091",
// "NODE_TLS_REJECT_UNAUTHORIZED":"0"
//
// This does NOT work by setting the value in terminal as following:
// export https_proxy=http://127.0.0.1:9091 NODE_TLS_REJECT_UNAUTHORIZED=0 // export https_proxy=http://127.0.0.1:9091 NODE_TLS_REJECT_UNAUTHORIZED=0
const httpProxy = process.env.http_proxy ?? process.env.https_proxy; const httpProxy = process.env.http_proxy ?? process.env.https_proxy;
if (httpProxy) { if (httpProxy) {