Add support for Hysteria2 ports.

This commit is contained in:
asdlokj1qpi23 committed 2024-03-13 18:12:36 +08:00
1 parent 1ff018c47b
commit a8292b1fc6
4 files changed
+10 -6

No files matched your search

+2
View File
@@ -484,6 +484,8 @@ proxyToClash(std::vector<Proxy> &nodes, YAML::Node &yamlnode, const ProxyGroupCo
singleproxy["obfs"] = x.OBFSParam;
if (!x.OBFSPassword.empty())
singleproxy["obfs-password"] = x.OBFSPassword;
if (!x.Ports.empty())
singleproxy["ports"] = x.Ports;
break;
case ProxyType::VLESS:
singleproxy["type"] = "vless";