Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-24 15:01:25 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-24 15:01:25 +0300
commitbf248389399fc6f82855f788cfae2be882407a0a (patch)
tree2353d352cff63344ac35592c0436ea3492003b78 /web/service
parent16e3107d23b4bc536d509c2dd832d10366fb895e (diff)
remove useless
Diffstat (limited to 'web/service')
-rw-r--r--web/service/sub.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/service/sub.go b/web/service/sub.go
index 5a0cfff6..263b15c3 100644
--- a/web/service/sub.go
+++ b/web/service/sub.go
@@ -352,9 +352,6 @@ func (s *SubService) genVlessLink(inbound *model.Inbound, email string) string {
xtlsSettings, _ := searchKey(xtlsSetting, "settings")
if xtlsSetting != nil {
- if sniValue, ok := searchKey(xtlsSettings, "serverName"); ok {
- params["sni"], _ = sniValue.(string)
- }
if fpValue, ok := searchKey(xtlsSettings, "fingerprint"); ok {
params["fp"], _ = fpValue.(string)
}
@@ -529,9 +526,6 @@ func (s *SubService) genTrojanLink(inbound *model.Inbound, email string) string
xtlsSettings, _ := searchKey(xtlsSetting, "settings")
if xtlsSetting != nil {
- if sniValue, ok := searchKey(xtlsSettings, "serverName"); ok {
- params["sni"], _ = sniValue.(string)
- }
if fpValue, ok := searchKey(xtlsSettings, "fingerprint"); ok {
params["fp"], _ = fpValue.(string)
}