modified: frontend/src/App.tsx

modified:   frontend/src/components/Sidebar.tsx
This commit is contained in:
GEgorov
2025-10-12 19:28:28 +03:00
parent 2d6968486d
commit 8275f58496
2 changed files with 1 additions and 12 deletions

View File

@@ -125,17 +125,6 @@ function App() {
</PrivateRoute>
}
/>
<Route
path="/api-docs"
action={() => {
try {
document.location.reload()
return true
} catch(err) {
return false
}
}}
/>
<Route path="*" element={<Navigate to="/" />} />
</Routes>
</BrowserRouter>

View File

@@ -9,7 +9,7 @@ const navItems = [
{ to: '/api-keys', icon: Key, label: 'API Ключи' },
{ to: '/logs', icon: FileText, label: 'Логи' },
{ to: '/settings', icon: Settings, label: 'Настройки' },
{ to: '/api-docs', icon: Book, label: 'Swagger' },
{ to: '/api-docs', icon: Book, label: 'Swagger', external: true },
];
export default function Sidebar() {