mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-01-22 09:58:14 -05:00
fix reality dest for xray
This commit is contained in:
parent
5bf246b9fb
commit
9e05e3830f
@ -105,7 +105,10 @@ func buildInbound(option *conf.Options, nodeInfo *panel.NodeInfo, tag string) (*
|
||||
// Reality
|
||||
in.StreamSetting.Security = "reality"
|
||||
v := nodeInfo.VAllss
|
||||
d, err := json.Marshal(v.TlsSettings.ServerName)
|
||||
d, err := json.Marshal(fmt.Sprintf(
|
||||
"%s:%s",
|
||||
v.TlsSettings.ServerName,
|
||||
v.TlsSettings.ServerPort))
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("marshal reality dest error: %s", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user