forked from coolaj86/goldilocks.js
add tunnel arg
This commit is contained in:
parent
bba1605ba3
commit
992d0a609a
3
serve.js
3
serve.js
|
@ -278,6 +278,9 @@ function run() {
|
||||||
if (argv.p || argv.port || argv._[0]) {
|
if (argv.p || argv.port || argv._[0]) {
|
||||||
opts.manualPort = true;
|
opts.manualPort = true;
|
||||||
}
|
}
|
||||||
|
if (argv.t || argv.tunnel) {
|
||||||
|
opts.tunnel = true;
|
||||||
|
}
|
||||||
if (argv.i || argv['insecure-port']) {
|
if (argv.i || argv['insecure-port']) {
|
||||||
opts.manualInsecurePort = true;
|
opts.manualInsecurePort = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue