@volter/tunnel 1.1.0 → 1.1.1

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.
@@ -845,8 +845,13 @@ if (import.meta.main) {
845
845
  process.exit(1);
846
846
  }
847
847
 
848
+ // Default to the Cloudflare Workers + Durable Objects relay. The old Fly relay
849
+ // (vgit-tunnels.volterapp.com) returns HTTP 200 instead of 101 on HTTP/2
850
+ // WebSocket upgrades, which breaks browser-based flows (e.g. QA proofs).
848
851
  const host =
849
- flag('host') || process.env.TUNNEL_SERVER_URL || 'https://vgit-tunnels.volterapp.com';
852
+ flag('host') ||
853
+ process.env.TUNNEL_SERVER_URL ||
854
+ 'https://volter-tunnel.aaron-0ed.workers.dev';
850
855
  const secret = process.env.TUNNEL_SECRET;
851
856
  const tunnelId = flag('tunnel-id');
852
857
  const authNotRequired = args.includes('--auth-not-required');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volter/tunnel",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Volter tunnel — WebSocket-based HTTP/WS reverse tunnel: a relay server plus a client connector library and CLI.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",