mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-04 19:31:45 +08:00 
			
		
		
		
	fix: 修正Loon WS+TLS时over-tls始终为false问题
This commit is contained in:
		@@ -89,8 +89,7 @@ class Loon
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
        if ($server['tls']) {
 | 
			
		||||
            if ($server['network'] === 'tcp')
 | 
			
		||||
                array_push($config, 'over-tls=true');
 | 
			
		||||
            array_push($config, 'over-tls=true');
 | 
			
		||||
            if ($server['tlsSettings']) {
 | 
			
		||||
                $tlsSettings = $server['tlsSettings'];
 | 
			
		||||
                if (isset($tlsSettings['allowInsecure']) && !empty($tlsSettings['allowInsecure']))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user