From 6873eba62b1c39a30ceea11e21d1592f03f2778d Mon Sep 17 00:00:00 2001 From: Viren070 Date: Sat, 13 Sep 2025 20:06:00 +0100 Subject: [PATCH] fix: ensure remaining rules are always checked --- packages/core/src/utils/http.ts | 4 ---- 1 file changed, 4 deletions(-) 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');