update: vless

This commit is contained in:
v2board
2023-08-02 01:52:25 +08:00
parent 07de70d8ab
commit 31c5cf1c2b
4 changed files with 23 additions and 5 deletions

View File

@ -111,6 +111,16 @@ class UniProxyController extends Controller
'obfs' => Helper::getServerKey($this->nodeInfo->created_at, 16)
];
break;
case "vless":
$response = [
'server_port' => $this->nodeInfo->server_port,
'network' => $this->nodeInfo->network,
'network_settings' => $this->nodeInfo->network_settings,
'tls' => $this->nodeInfo->tls,
'flow' => $this->nodeInfo->flow,
'tls_settings' => $this->nodeInfo->tls_settings
];
break;
}
$response['base_config'] = [
'push_interval' => (int)config('v2board.server_push_interval', 60),