Skip to content

Commit

Permalink
Add ProxyProvider2
Browse files Browse the repository at this point in the history
  • Loading branch information
chen08209 committed May 3, 2024
1 parent b3a5f74 commit 91ab1e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions core/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ func changeProxy(s *C.char) bool {
log.Infoln("Unmarshal ChangeProxyParams %v", err)
return false
}
proxies := tunnel.Proxies()
proxies := tunnel.ProxiesWithProviders()
proxy := proxies[*params.GroupName]
if proxy == nil {
return false
Expand Down Expand Up @@ -148,7 +148,7 @@ func asyncTestDelay(s *C.char) {
ctx, cancel := context.WithTimeout(context.Background(), time.Millisecond*time.Duration(params.Timeout))
defer cancel()

proxies := tunnel.Proxies()
proxies := tunnel.ProxiesWithProviders()
proxy := proxies[params.ProxyName]

delayData := &Delay{
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: fl_clash
description: A multi-platform proxy client based on ClashMeta, simple and easy to use, open-source and ad-free.
publish_to: 'none'
version: 0.7.3
version: 0.7.4
environment:
sdk: '>=3.1.0 <4.0.0'

Expand Down

0 comments on commit 91ab1e5

Please sign in to comment.