Skip to content

Commit b628c4a

Browse files
committed
fix(web): preserve select ready urls
1 parent 6ddefd2 commit b628c4a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/app/src/web/app-ready-url.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ const activeTerminalReadyPath = (session: ActiveTerminalSession | null): string
8888
return projectSshRoutePath(session.browserProjectKey, session.session.id)
8989
}
9090

91-
const selectReadyPath = (token: string | null): string => token === null ? "/menu/select" : projectSshRoutePath(token)
91+
const selectReadyPath = (token: string | null): string =>
92+
token === null ? "/menu/select" : `/select/${encodePathTail(token)}`
9293

9394
const menuActionReadyPath = (
9495
activeScreen: BrowserScreen,

0 commit comments

Comments
 (0)