mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-30 17:02:04 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -66,8 +66,8 @@ class Helper | ||||
|         ]; | ||||
|         if ($item->network == 'ws') { | ||||
|             $wsSettings = json_decode($item->settings); | ||||
|             if ($wsSettings->path) $config['path'] = $wsSettings->path; | ||||
|             if ($wsSettings->headers->Host) $config['host'] = $wsSettings->headers->Host; | ||||
|             if (isset($wsSettings->path)) $config['path'] = $wsSettings->path; | ||||
|             if (isset($wsSettings->headers->Host)) $config['host'] = $wsSettings->headers->Host; | ||||
|         } | ||||
|         return "vmess://".base64_encode(json_encode($config))."\r\n"; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user