connectbase-client 0.10.13 → 0.10.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1195,7 +1195,7 @@ async function startTunnel(port, config, tunnelOpts) {
|
|
|
1195
1195
|
const tunnelServerUrl = getTunnelServerUrl(config.baseUrl);
|
|
1196
1196
|
const parsedUrl = new URL(tunnelServerUrl);
|
|
1197
1197
|
const isHttps = parsedUrl.protocol === "https:";
|
|
1198
|
-
let wsPath = `/v1/tunnel/connect?app_id=${encodeURIComponent(appId)}`;
|
|
1198
|
+
let wsPath = `/v1/tunnel/connect?app_id=${encodeURIComponent(appId)}&local_port=${port}`;
|
|
1199
1199
|
if (tunnelOpts?.timeout) {
|
|
1200
1200
|
wsPath += `&timeout=${tunnelOpts.timeout}`;
|
|
1201
1201
|
}
|