mirror of
				https://git.coolaj86.com/coolaj86/telebit.js.git
				synced 2025-11-04 02:32:47 +00:00 
			
		
		
		
	clarification
This commit is contained in:
		
							parent
							
								
									82f5545d72
								
							
						
					
					
						commit
						aad592c893
					
				@ -21,6 +21,7 @@ if ('rsync' === process.argv[2]) {
 | 
				
			|||||||
  require('sclient/bin/sclient.js');
 | 
					  require('sclient/bin/sclient.js');
 | 
				
			||||||
  return;
 | 
					  return;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					// handle ssh client rather than ssh https tunnel
 | 
				
			||||||
if ('ssh' === process.argv[2] && /[\w-]+\.[a-z]{2,}/i.test(process.argv[3])) {
 | 
					if ('ssh' === process.argv[2] && /[\w-]+\.[a-z]{2,}/i.test(process.argv[3])) {
 | 
				
			||||||
  process.argv.splice(1,1,'sclient');
 | 
					  process.argv.splice(1,1,'sclient');
 | 
				
			||||||
  process.argv.splice(2,1,'ssh');
 | 
					  process.argv.splice(2,1,'ssh');
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user