We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6366e5 commit 2ca2b35Copy full SHA for 2ca2b35
site/src/utils/apps.ts
@@ -20,7 +20,10 @@ export const createAppLinkHref = (
20
agent.name
21
}/apps/${encodeURIComponent(appSlug)}/`;
22
if (app.command) {
23
- href = `${preferredPathBase}/@${username}/${workspace.name}.${
+ // Terminal links are relative. The terminal page knows how
24
+ // to select the correct workspace proxy for the websocket
25
+ // connection.
26
+ href = `/@${username}/${workspace.name}.${
27
28
}/terminal?command=${encodeURIComponent(app.command)}`;
29
}
0 commit comments