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:
authorpwnnex <pwnnex@proton.me>2026-04-22 19:02:05 +0300
committerGitHub <noreply@github.com>2026-04-22 19:02:05 +0300
commit530c1597b87b95b1f22c6c25ab9a6041849b5a42 (patch)
tree475c624ceb876648c494efd5672320ece6beac39 /sub/subJsonService.go
parentc8e16d8c417680b6169bbe63d576c79b884961b8 (diff)
parent17f67ef3a51537cbb32b2fcd3884c26434f4ee62 (diff)
Merge pull request #4086 from pwnnex/fix/hysteria2-protocol-aliases
hysteria: accept "hysteria2" as a protocol string (#4081)
Diffstat (limited to 'sub/subJsonService.go')
-rw-r--r--sub/subJsonService.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/subJsonService.go b/sub/subJsonService.go
index acb8e05f..a51f10bb 100644
--- a/sub/subJsonService.go
+++ b/sub/subJsonService.go
@@ -209,7 +209,7 @@ func (s *SubJsonService) getConfig(inbound *model.Inbound, client model.Client,
newOutbounds = append(newOutbounds, s.genVless(inbound, streamSettings, client))
case "trojan", "shadowsocks":
newOutbounds = append(newOutbounds, s.genServer(inbound, streamSettings, client))
- case "hysteria":
+ case "hysteria", "hysteria2":
newOutbounds = append(newOutbounds, s.genHy(inbound, newStream, client))
}