Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,server): this machine's menu copies the MCP URL its tunnel serves #23737

Closedshivamhwp(GitHub profile, opens in a new tab)wants to merge 19 commits intomain fromissue-watch/23709opened View on GitHub

Showing 6 changed files with 7 additions and 1 deletion (loading 3).

x
0 of 6 viewed, 6 left
4 additions and 1 deletionapps/server/src/cloud/ConnectReachability.test.tsModified
View file
@@ -196,7 +196,10 @@
​
// Reaching the endpoint resets the wait, and a 530 for a broken DNS record is left alone.
status = 200;
- expect(yield* reachability.check).toMatchObject({ status: "reachable" });
+ expect(yield* reachability.check).toMatchObject({
+ status: "reachable",
+ hostname: connected.hostname,
+ });
status = 530;
body = { cloudflareError: 1016 };
expect(yield* reachability.check).toMatchObject({ cause: "unexpected_response" });
1 addition and 0 deletionsapps/server/src/cloud/ConnectReachability.tsModified
View file
@@ -98,6 +98,7 @@
checkedAt,
readyConnections: connector.readyConnections,
protocol: connector.protocol,
+ ...(connector.hostname ? { hostname: connector.hostname } : {}),
// The edge test is TCP only. With QUIC connections up, a 502 from a working tunnel, or
2 additions and 0 deletionsapps/web/src/components/settings/ConnectionsSettings.tsxModified
View file
@@ -135,6 +135,7 @@
import {