mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 18:38:32 +08:00
feat: support random mixed port
This commit is contained in:
1 parent
2d8da45bda
commit
e9f14de05d
11 files changed
+135
-23
No files matched your search
@@ -194,7 +194,10 @@ impl PrfItem {
|
||||
|
||||
// 使用软件自己的代理
|
||||
if self_proxy {
|
||||
let port = Config::clash().data().get_mixed_port();
|
||||
let port = Config::verge()
|
||||
.latest()
|
||||
.verge_mixed_port
|
||||
.unwrap_or(Config::clash().data().get_mixed_port());
|
||||
|
||||
let proxy_scheme = format!("http://127.0.0.1:{port}");
|
||||
|
||||
|
||||
Reference in new issue
Block a user