mirror of
https://github.com/v2board/v2board.git
synced 2025-07-08 22:59:09 +08:00
为ClashVerge增加hysteria1/2的订阅
This commit is contained in:
@ -124,6 +124,8 @@ class UniProxyController extends Controller
|
||||
if ($this->nodeInfo->version == 1) {
|
||||
$response['obfs'] = $this->nodeInfo->obfs_password ?? null;
|
||||
} elseif ($this->nodeInfo->version == 2) {
|
||||
//TODO 处理hy2客户端上下行宽带设置
|
||||
$response['ignore_client_bandwidth'] = true;
|
||||
$response['obfs'] = $this->nodeInfo->obfs ?? null;
|
||||
$response['obfs-password'] = $this->nodeInfo->obfs_password ?? null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user