Skip to content

Commit ce3a937

Browse files
revent git config
1 parent c6aa3f3 commit ce3a937

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

core/config.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,12 @@ def build_config(hop1_url: str, hop2_url: str, mobile: bool) -> dict:
7272
else build_outbound(parse_proxy_url(u2), tag="hop2")
7373
)
7474

75-
hop2_out["proxySettings"] = {"tag": "hop1"}
75+
if "streamSettings" not in hop2_out:
76+
hop2_out["streamSettings"] = {}
77+
78+
hop2_out["streamSettings"]["sockopt"] = {
79+
"dialerProxy": "hop1"
80+
}
7681

7782
config: dict = {
7883
"log": {"loglevel": "warning"},

0 commit comments

Comments
 (0)