clashsub: fix tuic missing data #738
This commit is contained in:
@@ -132,6 +132,12 @@ func (s *ClashService) ConvertToClashMeta(outbounds *[]map[string]interface{}) (
|
|||||||
proxy["flow"] = flow
|
proxy["flow"] = flow
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if t == "tuic" {
|
||||||
|
proxy["password"] = obMap["password"]
|
||||||
|
if congestion_control, ok := obMap["congestion_control"].(string); ok {
|
||||||
|
proxy["congestion-controller"] = congestion_control
|
||||||
|
}
|
||||||
|
}
|
||||||
case "trojan":
|
case "trojan":
|
||||||
proxy["password"] = obMap["password"]
|
proxy["password"] = obMap["password"]
|
||||||
case "socks", "http":
|
case "socks", "http":
|
||||||
|
|||||||
Reference in New Issue
Block a user