mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48: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.ServerKey = rsp.ServerKey
|
||||||
node.Cipher = rsp.Cipher
|
node.Cipher = rsp.Cipher
|
||||||
case "trojan":
|
case "trojan":
|
||||||
|
node.Tls = true
|
||||||
case "hysteria":
|
case "hysteria":
|
||||||
rsp := HysteriaNodeRsp{}
|
rsp := HysteriaNodeRsp{}
|
||||||
err = json.Unmarshal(r.Body(), &rsp)
|
err = json.Unmarshal(r.Body(), &rsp)
|
||||||
|
Loading…
Reference in New Issue
Block a user