diff --git a/api/panel/node.go b/api/panel/node.go index 0519a8d..cb7d18d 100644 --- a/api/panel/node.go +++ b/api/panel/node.go @@ -173,6 +173,7 @@ func (c *Client) GetNodeInfo() (node *NodeInfo, err error) { node.ServerKey = rsp.ServerKey node.Cipher = rsp.Cipher case "trojan": + node.Tls = true case "hysteria": rsp := HysteriaNodeRsp{} err = json.Unmarshal(r.Body(), &rsp)