mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 01:11:46 +08:00 
			
		
		
		
	pr #109
This commit is contained in:
		| @@ -48,7 +48,7 @@ class ClientController extends Controller | |||||||
|         foreach ($server as $item) { |         foreach ($server as $item) { | ||||||
|             $uri .= "vmess=" . $item->host . ":" . $item->port . ", method=none, password=" . $user->v2ray_uuid . ", fast-open=false, udp-relay=false, tag=" . $item->name; |             $uri .= "vmess=" . $item->host . ":" . $item->port . ", method=none, password=" . $user->v2ray_uuid . ", fast-open=false, udp-relay=false, tag=" . $item->name; | ||||||
|             if ($item->network == 'ws') { |             if ($item->network == 'ws') { | ||||||
|                 $uri .= ', obfs=ws'; |                 $uri .= ', obfs=' . $item->tls ? 'wss' : 'ws'; | ||||||
|                 if ($item->networkSettings) { |                 if ($item->networkSettings) { | ||||||
|                     $wsSettings = json_decode($item->networkSettings); |                     $wsSettings = json_decode($item->networkSettings); | ||||||
|                     if (isset($wsSettings->path)) $uri .= ', obfs-uri=' . $wsSettings->path; |                     if (isset($wsSettings->path)) $uri .= ', obfs-uri=' . $wsSettings->path; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user