modified: frontend/src/App.tsx
modified: frontend/src/components/Sidebar.tsx
This commit is contained in:
@@ -125,6 +125,9 @@ function App() {
|
||||
</PrivateRoute>
|
||||
}
|
||||
/>
|
||||
<Route
|
||||
path="/api-docs"
|
||||
/>
|
||||
<Route path="*" element={<Navigate to="/" />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
||||
@@ -9,7 +9,7 @@ const navItems = [
|
||||
{ to: '/api-keys', icon: Key, label: 'API Ключи' },
|
||||
{ to: '/logs', icon: FileText, label: 'Логи' },
|
||||
{ to: '/settings', icon: Settings, label: 'Настройки' },
|
||||
{ to: 'http://git.ncms-i.ru:10805/api-docs', icon: Book, label: 'Swagger' },
|
||||
{ to: '/api-docs', icon: Book, label: 'Swagger' },
|
||||
];
|
||||
|
||||
export default function Sidebar() {
|
||||
|
||||
Reference in New Issue
Block a user