This commit is contained in:
root 2019-11-07 21:23:23 +08:00
parent 12da2ced85
commit 83fe8a0e37

View File

@ -39,7 +39,7 @@ class ClientController extends Controller
$uri = '';
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;
if ($item->network === 'ws') {
if ($item->network == 'ws') {
$uri .= ', obfs=ws';
if ($item->settings) {
$wsSettings = json_decode($item->settings);