mirror of
				https://github.com/MHSanaei/3x-ui.git
				synced 2025-10-31 04:12:51 +00:00 
			
		
		
		
	Update xray.js
This commit is contained in:
		
							parent
							
								
									63acd585ba
								
							
						
					
					
						commit
						fe7ce3f74b
					
				
					 1 changed files with 9 additions and 3 deletions
				
			
		|  | @ -1157,6 +1157,9 @@ class Inbound extends XrayCommonClass { | ||||||
|         } |         } | ||||||
| 		 | 		 | ||||||
| 		 if (this.XTLS) { | 		 if (this.XTLS) { | ||||||
|  | 				if (!ObjectUtil.isEmpty(this.stream.tls.server)) { | ||||||
|  | 				address = this.stream.tls.server; | ||||||
|  | 				} | ||||||
| 			params.set("flow", this.settings.vlesses[clientIndex].flow); | 			params.set("flow", this.settings.vlesses[clientIndex].flow); | ||||||
| 			} | 			} | ||||||
| 
 | 
 | ||||||
|  | @ -1247,6 +1250,9 @@ class Inbound extends XrayCommonClass { | ||||||
|         } |         } | ||||||
| 		 | 		 | ||||||
| 		 if (this.XTLS) { | 		 if (this.XTLS) { | ||||||
|  | 				if (!ObjectUtil.isEmpty(this.stream.tls.server)) { | ||||||
|  | 				address = this.stream.tls.server; | ||||||
|  | 				} | ||||||
| 			params.set("flow", this.settings.trojans[clientIndex].flow); | 			params.set("flow", this.settings.trojans[clientIndex].flow); | ||||||
| 			} | 			} | ||||||
|          |          | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 MHSanaei
						MHSanaei