@dedenlabs/claude-code-router-cli 2.0.8-beta.1 → 2.0.8-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +3 -3
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -99963,9 +99963,9 @@ function patchLlmsPackage() {
|
|
|
99963
99963
|
const WfOriginal = llmsModule?.Wf;
|
|
99964
99964
|
if (typeof WfOriginal === "function") {
|
|
99965
99965
|
llmsModule.Wf = function(url, request, config, logger, context) {
|
|
99966
|
-
const
|
|
99967
|
-
const
|
|
99968
|
-
if (
|
|
99966
|
+
const urlStr = typeof url === "string" ? url : url.toString();
|
|
99967
|
+
const isLocalHost2 = urlStr.includes("localhost") || urlStr.includes("127.0.0.1");
|
|
99968
|
+
if (isLocalHost2 && config.httpsProxy) {
|
|
99969
99969
|
const { httpsProxy, ...restConfig } = config;
|
|
99970
99970
|
return WfOriginal(url, request, restConfig, logger, context);
|
|
99971
99971
|
}
|
package/package.json
CHANGED