mirror of
				https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
				synced 2025-11-01 07:21:09 +08:00 
			
		
		
		
	fix: 修复 VMess VLESS servername
This commit is contained in:
		
							parent
							
								
									839fcacf63
								
							
						
					
					
						commit
						6cf8080cd3
					
				| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "sub-store", | ||||
|   "version": "2.14.398", | ||||
|   "version": "2.14.399", | ||||
|   "description": "Advanced Subscription Manager for QX, Loon, Surge, Stash and ShadowRocket.", | ||||
|   "main": "src/main.js", | ||||
|   "scripts": { | ||||
|  | ||||
| @ -879,6 +879,11 @@ function Clash_All() { | ||||
|             ); | ||||
|         } | ||||
| 
 | ||||
|         // handle vmess sni
 | ||||
|         if (['vmess', 'vless'].includes(proxy.type)) { | ||||
|             proxy.sni = proxy.servername; | ||||
|             delete proxy.servername; | ||||
|         } | ||||
|         if (proxy['server-cert-fingerprint']) { | ||||
|             proxy['tls-fingerprint'] = proxy['server-cert-fingerprint']; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 xream
						xream