mirror of
				https://git.mirrors.martin98.com/https://github.com/sub-store-org/Sub-Store.git
				synced 2025-10-31 08:51:04 +08:00 
			
		
		
		
	Added an example of tls fingerprint configuration
This commit is contained in:
		
							parent
							
								
									694a932c57
								
							
						
					
					
						commit
						2328b5ac31
					
				
							
								
								
									
										11
									
								
								scripts/tls-fingerprint.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								scripts/tls-fingerprint.js
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,11 @@ | |||||||
|  | function operator(proxies) { | ||||||
|  |     const fingerprint = "你的指纹"; | ||||||
|  |     proxies.forEach(proxy => { | ||||||
|  |         if ($.env.isSurge) { | ||||||
|  |             proxy.tfo = `${proxy.tfo || false}, server-cert-fingerprint-sha256=${fingerprint}`; | ||||||
|  |         } else if ($.env.isQX) { | ||||||
|  |             proxy.tfo = `${proxy.tfo || false}, tls-cert-sha256=${fingerprint}`; | ||||||
|  |         } | ||||||
|  |     }); | ||||||
|  |     return proxies; | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Peng-YM
						Peng-YM