fix: omit emty sni when sharing

This commit is contained in:
mzz2017 committed 2023-03-16 18:46:49 +08:00
1 parent 58a6cf270e
commit fc71a155af
1 file changed
+1 -1
+1 -1
View File
@@ -39,7 +39,7 @@ type V2Ray struct {
Net string `json:"net"`
Type string `json:"type"`
Host string `json:"host"`
SNI string `json:"sni"`
SNI string `json:"sni,omitempty"`
Path string `json:"path"`
TLS string `json:"tls"`
Flow string `json:"flow,omitempty"`