mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	fix
This commit is contained in:
		| @@ -52,7 +52,7 @@ class ClientController extends Controller | |||||||
|         header('subscription-userinfo: upload=' . $user->u . '; download=' . $user->d . ';total=' . $user->transfer_enable); |         header('subscription-userinfo: upload=' . $user->u . '; download=' . $user->d . ';total=' . $user->transfer_enable); | ||||||
|         foreach ($vmess as $item) { |         foreach ($vmess as $item) { | ||||||
|             $str = ''; |             $str = ''; | ||||||
|             $str .= $item->name . '= vmess, ' . $item->host . ', ' . $item->port . ', chacha20-ietf-poly1305, "' . $user->v2ray_uuid . '", over-tls=' . ($item->tls ? "true" : "false") . ', certificate=0, group=' . config('v2board.app_name', 'V2Board'); |             $str .= $item->name . '= vmess, ' . $item->host . ', ' . $item->port . ', chacha20-ietf-poly1305, "' . $user->uuid . '", over-tls=' . ($item->tls ? "true" : "false") . ', certificate=0, group=' . config('v2board.app_name', 'V2Board'); | ||||||
|             if ($item->network === 'ws') { |             if ($item->network === 'ws') { | ||||||
|                 $str .= ', obfs=ws'; |                 $str .= ', obfs=ws'; | ||||||
|                 if ($item->networkSettings) { |                 if ($item->networkSettings) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user