Skip to content

Commit 7c0478d

Browse files
committed
clashsub: fix tuic missing data #738
1 parent b26aa8d commit 7c0478d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sub/clashService.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ func (s *ClashService) ConvertToClashMeta(outbounds *[]map[string]interface{}) (
132132
proxy["flow"] = flow
133133
}
134134
}
135+
if t == "tuic" {
136+
proxy["password"] = obMap["password"]
137+
if congestion_control, ok := obMap["congestion_control"].(string); ok {
138+
proxy["congestion-controller"] = congestion_control
139+
}
140+
}
135141
case "trojan":
136142
proxy["password"] = obMap["password"]
137143
case "socks", "http":

0 commit comments

Comments
 (0)