Compare commits

...

2 Commits

Author SHA1 Message Date
asdlokj1qpi23
a428c844a2 update template 2025-04-27 15:02:54 +08:00
asdlokj1qpi23
3a0784f1f6 fix surge error,(#27) (#28) 2025-04-27 12:42:34 +08:00
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ body:
value: |
遇到问题请先尝试使用[Action](https://github.com/tindy2013/subconverter/actions)中的最新版本
如果是使用公共转换服务中遇到的问题,请先联系服务的提供者。
Please note that if the bug report does not include reproduction steps, configuration files, or relevant URL content, it will not be considered.
- type: checkboxes
id: version-check
attributes:

View File

@@ -1068,7 +1068,7 @@ std::string proxyToSurge(std::vector<Proxy> &nodes, const std::string &base_conf
case ProxyType::Hysteria2:
if (surge_ver < 4)
continue;
proxy = "hysteria, " + hostname + ", " + port + ", password=" + password;
proxy = "hysteria2, " + hostname + ", " + port + ", password=" + password;
if (!x.DownMbps.empty()) {
if (!isNumeric(x.DownMbps)) {
size_t pos = x.DownMbps.find(search);