mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: move the web terminal out of the dashboard authentication layout (#5699)
Fixes #5698. This was a regression.
This commit is contained in:
@@ -337,7 +337,6 @@ export const AppRouter: FC = () => {
|
||||
<Route path=":workspace">
|
||||
<Route index element={<WorkspacePage />} />
|
||||
<Route path="schedule" element={<WorkspaceSchedulePage />} />
|
||||
<Route path="terminal" element={<TerminalPage />} />
|
||||
<Route
|
||||
path="builds/:buildNumber"
|
||||
element={<WorkspaceBuildPage />}
|
||||
@@ -349,6 +348,12 @@ export const AppRouter: FC = () => {
|
||||
</Route>
|
||||
</Route>
|
||||
</Route>
|
||||
|
||||
<Route path="/@:username">
|
||||
<Route path=":workspace">
|
||||
<Route path="terminal" element={<TerminalPage />} />
|
||||
</Route>
|
||||
</Route>
|
||||
</Route>
|
||||
|
||||
{/* Using path="*"" means "match anything", so this route
|
||||
|
||||
Reference in New Issue
Block a user