From 306d5de21ae6aac75687ecafe114c274d46414be Mon Sep 17 00:00:00 2001 From: Aiji Uejima Date: Sat, 26 Aug 2023 06:35:41 +0900 Subject: [PATCH] fix: use constructed `url` for tunnel (#3) --- src/tunnel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tunnel.ts b/src/tunnel.ts index 76ea2be..666a0d2 100644 --- a/src/tunnel.ts +++ b/src/tunnel.ts @@ -48,7 +48,7 @@ export async function startTunnel( } const args = [ - ["--url", opts.url], + ["--url", url], opts.verifyTLS ? undefined : ["--no-tls-verify", ""], ].filter(Boolean) as [string, string][];