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:
Diffstat (limited to 'sub/subService.go')
-rw-r--r--sub/subService.go24
1 files changed, 0 insertions, 24 deletions
diff --git a/sub/subService.go b/sub/subService.go
index 2f5b2f98..33d2e065 100644
--- a/sub/subService.go
+++ b/sub/subService.go
@@ -213,12 +213,6 @@ func (s *SubService) genVmessLink(inbound *model.Inbound, email string) string {
http, _ := stream["httpSettings"].(map[string]interface{})
obj["path"], _ = http["path"].(string)
obj["host"] = searchHost(http)
- case "quic":
- quic, _ := stream["quicSettings"].(map[string]interface{})
- header := quic["header"].(map[string]interface{})
- obj["type"], _ = header["type"].(string)
- obj["host"], _ = quic["security"].(string)
- obj["path"], _ = quic["key"].(string)
case "grpc":
grpc, _ := stream["grpcSettings"].(map[string]interface{})
obj["path"] = grpc["serviceName"].(string)
@@ -370,12 +364,6 @@ func (s *SubService) genVlessLink(inbound *model.Inbound, email string) string {
http, _ := stream["httpSettings"].(map[string]interface{})
params["path"] = http["path"].(string)
params["host"] = searchHost(http)
- case "quic":
- quic, _ := stream["quicSettings"].(map[string]interface{})
- params["quicSecurity"] = quic["security"].(string)
- params["key"] = quic["key"].(string)
- header := quic["header"].(map[string]interface{})
- params["headerType"] = header["type"].(string)
case "grpc":
grpc, _ := stream["grpcSettings"].(map[string]interface{})
params["serviceName"] = grpc["serviceName"].(string)
@@ -604,12 +592,6 @@ func (s *SubService) genTrojanLink(inbound *model.Inbound, email string) string
http, _ := stream["httpSettings"].(map[string]interface{})
params["path"] = http["path"].(string)
params["host"] = searchHost(http)
- case "quic":
- quic, _ := stream["quicSettings"].(map[string]interface{})
- params["quicSecurity"] = quic["security"].(string)
- params["key"] = quic["key"].(string)
- header := quic["header"].(map[string]interface{})
- params["headerType"] = header["type"].(string)
case "grpc":
grpc, _ := stream["grpcSettings"].(map[string]interface{})
params["serviceName"] = grpc["serviceName"].(string)
@@ -839,12 +821,6 @@ func (s *SubService) genShadowsocksLink(inbound *model.Inbound, email string) st
http, _ := stream["httpSettings"].(map[string]interface{})
params["path"] = http["path"].(string)
params["host"] = searchHost(http)
- case "quic":
- quic, _ := stream["quicSettings"].(map[string]interface{})
- params["quicSecurity"] = quic["security"].(string)
- params["key"] = quic["key"].(string)
- header := quic["header"].(map[string]interface{})
- params["headerType"] = header["type"].(string)
case "grpc":
grpc, _ := stream["grpcSettings"].(map[string]interface{})
params["serviceName"] = grpc["serviceName"].(string)