mirror of https://github.com/coder/coder.git
fix: move the web terminal out of the dashboard authentication layout (#5699)
Fixes #5698. This was a regression.
This commit is contained in:
parent
269e0b3261
commit
67952cf95e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue