mirror of
https://github.com/wyx2685/V2bX.git
synced 2025-02-02 06:48:14 -05:00
fix servername
This commit is contained in:
parent
214324496d
commit
0fce6588da
@ -57,7 +57,7 @@ func getInboundOptions(tag string, info *panel.NodeInfo, c *conf.Options) (optio
|
|||||||
case panel.Reality:
|
case panel.Reality:
|
||||||
tls.Enabled = true
|
tls.Enabled = true
|
||||||
v := info.VAllss
|
v := info.VAllss
|
||||||
tls.ServerName = v.TlsSettings.PrivateKey
|
tls.ServerName = v.TlsSettings.ServerName[0]
|
||||||
if len(v.TlsSettings.ShortIds) == 0 {
|
if len(v.TlsSettings.ShortIds) == 0 {
|
||||||
v.TlsSettings.ShortIds = []string{""}
|
v.TlsSettings.ShortIds = []string{""}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user