mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update: quantumult
This commit is contained in:
		| @@ -66,7 +66,7 @@ class ClientController extends Controller | |||||||
|                 if ($item['network'] === 'ws') { |                 if ($item['network'] === 'ws') { | ||||||
|                     $str .= ', obfs=ws'; |                     $str .= ', obfs=ws'; | ||||||
|                     if ($item['networkSettings']) { |                     if ($item['networkSettings']) { | ||||||
|                         $wsSettings = json_decode($item['networkSettings']); |                         $wsSettings = json_decode($item['networkSettings'], true); | ||||||
|                         if (isset($wsSettings['path'])) $str .= ', obfs-path="' . $wsSettings['path'] . '"'; |                         if (isset($wsSettings['path'])) $str .= ', obfs-path="' . $wsSettings['path'] . '"'; | ||||||
|                         if (isset($wsSettings['headers']['Host'])) $str .= ', obfs-header="Host:' . $wsSettings['headers']['Host'] . '"'; |                         if (isset($wsSettings['headers']['Host'])) $str .= ', obfs-header="Host:' . $wsSettings['headers']['Host'] . '"'; | ||||||
|                     } |                     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user