mirror of
				https://github.com/2dust/v2rayN.git
				synced 2025-11-04 06:22:52 +00:00 
			
		
		
		
	Update V2rayConfigHandler.cs
This commit is contained in:
		
							parent
							
								
									b487dcf448
								
							
						
					
					
						commit
						e2de9b4703
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -472,9 +472,16 @@ namespace v2rayN.Handler
 | 
			
		|||
                    usersItem.encryption = config.security();
 | 
			
		||||
                    //if xtls
 | 
			
		||||
                    if (config.streamSecurity() == Global.StreamSecurityX)
 | 
			
		||||
                    {
 | 
			
		||||
                        if (Utils.IsNullOrEmpty(config.flow()))
 | 
			
		||||
                        {
 | 
			
		||||
                            usersItem.flow = "xtls-rprx-origin";
 | 
			
		||||
                        }
 | 
			
		||||
                        else
 | 
			
		||||
                        {
 | 
			
		||||
                            usersItem.flow = config.flow();
 | 
			
		||||
                        }
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    //Mux
 | 
			
		||||
                    outbound.mux.enabled = config.muxEnabled;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue