fix: ensure remaining rules are always checked

This commit is contained in:
Viren070
2025-09-13 20:06:00 +01:00
parent 4b068255c9
commit 6873eba62b
-4
View File
@@ -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');