Skip to content

Commit a43db07

Browse files
committed
feat: add default tunnel args for localhost:8080
1 parent 5b4d35e commit a43db07

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/tunnel.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export function tunnel(options: Record<string, string | number | null> = {}): {
2727
args.push(`${key}`);
2828
}
2929
}
30+
if (args.length === 1) {
31+
args.push("--url", "localhost:8080");
32+
}
3033

3134
const child = spawn(bin, args, { stdio: ["ignore", "pipe", "pipe"] });
3235

0 commit comments

Comments
 (0)