mirror of
https://github.com/v2board/v2board.git
synced 2025-01-10 16:19:10 +08:00
update
This commit is contained in:
parent
12da2ced85
commit
83fe8a0e37
@ -39,7 +39,7 @@ class ClientController extends Controller
|
|||||||
$uri = '';
|
$uri = '';
|
||||||
foreach($server as $item) {
|
foreach($server as $item) {
|
||||||
$uri .= "vmess=".$item->host.":".$item->port.", method=none, password=".$user->v2ray_uuid.", over-tls=".($item->tls?'true':'false').", certificate=0, fast-open=false, udp-relay=false, tag=".$item->name;
|
$uri .= "vmess=".$item->host.":".$item->port.", method=none, password=".$user->v2ray_uuid.", over-tls=".($item->tls?'true':'false').", certificate=0, fast-open=false, udp-relay=false, tag=".$item->name;
|
||||||
if ($item->network === 'ws') {
|
if ($item->network == 'ws') {
|
||||||
$uri .= ', obfs=ws';
|
$uri .= ', obfs=ws';
|
||||||
if ($item->settings) {
|
if ($item->settings) {
|
||||||
$wsSettings = json_decode($item->settings);
|
$wsSettings = json_decode($item->settings);
|
||||||
|
Loading…
Reference in New Issue
Block a user