add anytls support

This commit is contained in:
Fearless committed 2025-05-19 09:25:52 +08:00
1 parent 497fe59986
commit 0f672571b7
8 files changed
+148 -3

No files matched your search

@@ -28,6 +28,7 @@ class ClientController extends Controller
'trojan' => '[trojan]',
'tuic' => '[tuic]',
'socks' => '[socks]',
'anytls' => '[anytls]'
];
// 支持hy2 的客户端版本列表
@@ -48,7 +49,7 @@ class ClientController extends Controller
'flclash' => '0.8.0'
];
private const ALLOWED_TYPES = ['vmess', 'vless', 'trojan', 'hysteria', 'shadowsocks', 'hysteria2', 'tuic'];
private const ALLOWED_TYPES = ['vmess', 'vless', 'trojan', 'hysteria', 'shadowsocks', 'hysteria2', 'tuic', 'anytls'];
public function subscribe(Request $request)