mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: ensure remaining rules are always checked
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user