Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 67952cf

Browse files
authored
fix: move the web terminal out of the dashboard authentication layout (#5699)
Fixes #5698. This was a regression.
1 parent 269e0b3 commit 67952cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

site/src/AppRouter.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,6 @@ export const AppRouter: FC = () => {
337337
<Route path=":workspace">
338338
<Route index element={<WorkspacePage />} />
339339
<Route path="schedule" element={<WorkspaceSchedulePage />} />
340-
<Route path="terminal" element={<TerminalPage />} />
341340
<Route
342341
path="builds/:buildNumber"
343342
element={<WorkspaceBuildPage />}
@@ -349,6 +348,12 @@ export const AppRouter: FC = () => {
349348
</Route>
350349
</Route>
351350
</Route>
351+
352+
<Route path="/@:username">
353+
<Route path=":workspace">
354+
<Route path="terminal" element={<TerminalPage />} />
355+
</Route>
356+
</Route>
352357
</Route>
353358

354359
{/* Using path="*"" means "match anything", so this route

0 commit comments

Comments
 (0)