Skip to content

Commit

Permalink
chore: improve include-all-proxies compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
xishang0128 committed Aug 19, 2024
1 parent 8298489 commit c838033
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adapter/outboundgroup/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ func ParseProxyGroup(config map[string]any, proxyMap map[string]C.Proxy, provide
} else {
groupOption.Proxies = append(groupOption.Proxies, AllProxies...)
}
if len(groupOption.Proxies) == 0 && len(groupOption.Use) == 0 {
groupOption.Proxies = []string{"COMPATIBLE"}
}
}

if len(groupOption.Proxies) == 0 && len(groupOption.Use) == 0 {
Expand Down

0 comments on commit c838033

Please sign in to comment.