feat(web): redirect /devops -> /settings?section=DevOps

The DevOps panel lives inside Settings, but typing /devops directly hit
the catch-all NotFoundView. Add a Navigate redirect so the shorthand URL
works.

Generated with [Devin](https://cli.devin.ai/docs)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
root 2026-05-10 06:00:15 +00:00
parent 4763a9a9d1
commit bd762d32a9

View File

@ -92,6 +92,7 @@ export function AppShell() {
<Route path="/watchlist" element={<WatchlistView />} /> <Route path="/watchlist" element={<WatchlistView />} />
<Route path="/alerts" element={<AlertsView />} /> <Route path="/alerts" element={<AlertsView />} />
<Route path="/settings" element={<SettingsView />} /> <Route path="/settings" element={<SettingsView />} />
<Route path="/devops" element={<Navigate to="/settings?section=DevOps" replace />} />
<Route path="*" element={<NotFoundView />} /> <Route path="*" element={<NotFoundView />} />
</Routes> </Routes>
</Suspense> </Suspense>