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 21:44:29 +00:00
committed by GitHub
parent 269e0b3261
commit 67952cf95e
+6 -1
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