fix: move the web terminal out of the dashboard authentication layout (#5699)

Fixes #5698. This was a regression.
This commit is contained in:
Kyle Carberry 2023-01-12 15:44:29 -06:00 committed by GitHub
parent 269e0b3261
commit 67952cf95e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -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