feat: add support for hysteria2 in Passwall and SSRPLUS

This commit is contained in:
xboard
2024-11-09 21:37:15 +08:00
parent ab52e61ed1
commit e79465c90d
5 changed files with 40 additions and 52 deletions
+3
View File
@@ -34,6 +34,9 @@ class Passwall
if ($item['type'] === 'trojan') {
$uri .= self::buildTrojan($user['uuid'], $item);
}
if ($item['type'] === 'hysteria') {
$uri .= General::buildHysteria($user['uuid'], $item);
}
}
return base64_encode($uri);
}