mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -109,6 +109,16 @@ class ClientController extends Controller | |||||||
|         if ($item->tls) { |         if ($item->tls) { | ||||||
|           $array['tls'] = true; |           $array['tls'] = true; | ||||||
|         } |         } | ||||||
|  |         if ($item->network == 'ws') { | ||||||
|  |           $array['network'] = $item->network; | ||||||
|  |           if ($item->settings) { | ||||||
|  |             $wsSettings = json_decode($item->settings); | ||||||
|  |             if ($wsSettings->path) $array['ws-path'] = $wsSettings->path; | ||||||
|  |             if ($wsSettings->headers->Host) $array['ws-headers'] = [ | ||||||
|  |               'Host' => $wsSettings->headers->Host | ||||||
|  |             ]; | ||||||
|  |           } | ||||||
|  |         } | ||||||
|         array_push($proxy, $array); |         array_push($proxy, $array); | ||||||
|         array_push($proxies, $item->name); |         array_push($proxies, $item->name); | ||||||
|       } |       } | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								public/umi.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								public/umi.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user