feat: Add TUIC protocol support and fix user filtering/export issues

This commit is contained in:
xboard
2025-02-23 00:13:04 +08:00
parent 4667eb232c
commit b7e87ba18d
12 changed files with 365 additions and 54 deletions

View File

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