mirror of
https://github.com/v2board/v2board.git
synced 2025-06-15 22:27:50 +08:00
update: hysteria2
This commit is contained in:
@ -24,7 +24,9 @@ class HysteriaController extends Controller
|
||||
'up_mbps' => 'required|numeric|min:1',
|
||||
'down_mbps' => 'required|numeric|min:1',
|
||||
'server_name' => 'nullable',
|
||||
'insecure' => 'required|in:0,1'
|
||||
'insecure' => 'required|in:0,1',
|
||||
'obfs_type' => 'nullable|in:salamander',
|
||||
'ignore_client_bandwidth' => 'required|in:0,1'
|
||||
]);
|
||||
|
||||
if ($request->input('id')) {
|
||||
|
@ -108,7 +108,9 @@ class UniProxyController extends Controller
|
||||
'server_name' => $this->nodeInfo->server_name,
|
||||
'up_mbps' => $this->nodeInfo->up_mbps,
|
||||
'down_mbps' => $this->nodeInfo->down_mbps,
|
||||
'obfs' => Helper::getServerKey($this->nodeInfo->created_at, 16)
|
||||
'obfs' => Helper::getServerKey($this->nodeInfo->created_at, 16),
|
||||
'obfs_type' => $this->nodeInfo->obfs_type,
|
||||
'ignore_client_bandwidth' => !!$this->nodeInfo->ignore_client_bandwidth
|
||||
];
|
||||
break;
|
||||
case "vless":
|
||||
|
Reference in New Issue
Block a user