diff --git a/packages/core/src/utils/http.ts b/packages/core/src/utils/http.ts index 0236f2d0..4db6b9f2 100644 --- a/packages/core/src/utils/http.ts +++ b/packages/core/src/utils/http.ts @@ -184,10 +184,6 @@ function shouldProxy(url: URL): { : ruleProxyIndexOrBool === 'true' ? 0 : -1; - - if (useProxy) { - return { useProxy, proxyIndex }; - } } else if (ruleHostname.startsWith('*')) { if (hostname.endsWith(ruleHostname.slice(1))) { useProxy = !(ruleProxyIndexOrBool === 'false');