mirror of
https://git.coolaj86.com/coolaj86/telebit.js.git
synced 2025-03-03 15:10:45 +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');
|
||||
return;
|
||||
}
|
||||
// handle ssh client rather than ssh https tunnel
|
||||
if ('ssh' === process.argv[2] && /[\w-]+\.[a-z]{2,}/i.test(process.argv[3])) {
|
||||
process.argv.splice(1,1,'sclient');
|
||||
process.argv.splice(2,1,'ssh');
|
||||
|
Loading…
x
Reference in New Issue
Block a user