mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -05:00
Merge pull request #97 from stitchrs/dev_trojan
fix: trojan build error
This commit is contained in:
commit
7cc57fe2ba
@ -207,6 +207,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