mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -05:00
fix: build trojan error
This commit is contained in:
parent
7a1be2e594
commit
c1348ba3f4
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user