fix: filter for loadbalance (#881)

This commit is contained in:
YetAnotherZephyruso 2024-07-31 03:27:05 +08:00 committed by GitHub
parent 26c2cfef5a
commit faf7a7ebd0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -266,8 +266,9 @@ export const useProxies = () => {
} }
return ( return (
['direct', 'reject'].includes(proxyNode.type.toLowerCase()) || ['direct', 'reject', 'loadbalance'].includes(
!!proxyNode.now proxyNode.type.toLowerCase(),
) || !!proxyNode.now
) )
} }