feat: hysteria2 on UDP 443, link port override from hy2 block
This commit is contained in:
+1
-1
@@ -529,7 +529,7 @@ def _build_hysteria_link(panel_link: str, sub_id: str, srv: dict) -> Optional[st
|
||||
if not auth:
|
||||
return None
|
||||
host = parts.hostname or ""
|
||||
port = parts.port or 443
|
||||
port = hy2.get("port") or parts.port or 443
|
||||
if not host:
|
||||
return None
|
||||
sni = hy2.get("sni") or host
|
||||
|
||||
Reference in New Issue
Block a user