mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
fix: build trojan error
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user