mirror of
				https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
				synced 2025-10-31 13:41:07 +08:00 
			
		
		
		
	Updated tls-fingerprint.js using the new targetPlatform parameter
				
					
				
			This commit is contained in:
		
							parent
							
								
									f7547bf719
								
							
						
					
					
						commit
						3ce237d722
					
				| @ -1,9 +1,9 @@ | |||||||
| function operator(proxies) { | function operator(proxies, targetPlatform) { | ||||||
|     const fingerprint = "你的指纹"; |     const fingerprint = "你的指纹"; | ||||||
|     proxies.forEach(proxy => { |     proxies.forEach(proxy => { | ||||||
|         if ($.env.isSurge) { |         if (targetPlatform === "Surge") { | ||||||
|             proxy.tfo = `${proxy.tfo || false}, server-cert-fingerprint-sha256=${fingerprint}`; |             proxy.tfo = `${proxy.tfo || false}, server-cert-fingerprint-sha256=${fingerprint}`; | ||||||
|         } else if ($.env.isQX) { |         } else if (targetPlatform === "QX") { | ||||||
|             proxy.tfo = `${proxy.tfo || false}, tls-cert-sha256=${fingerprint}`; |             proxy.tfo = `${proxy.tfo || false}, tls-cert-sha256=${fingerprint}`; | ||||||
|         } |         } | ||||||
|     }); |     }); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Peng-YM
						Peng-YM