modified: frontend/src/App.tsx
modified: frontend/src/components/Sidebar.tsx
This commit is contained in:
@@ -125,6 +125,9 @@ function App() {
|
|||||||
</PrivateRoute>
|
</PrivateRoute>
|
||||||
}
|
}
|
||||||
/>
|
/>
|
||||||
|
<Route
|
||||||
|
path="/api-docs"
|
||||||
|
/>
|
||||||
<Route path="*" element={<Navigate to="/" />} />
|
<Route path="*" element={<Navigate to="/" />} />
|
||||||
</Routes>
|
</Routes>
|
||||||
</BrowserRouter>
|
</BrowserRouter>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const navItems = [
|
|||||||
{ to: '/api-keys', icon: Key, label: 'API Ключи' },
|
{ to: '/api-keys', icon: Key, label: 'API Ключи' },
|
||||||
{ to: '/logs', icon: FileText, label: 'Логи' },
|
{ to: '/logs', icon: FileText, label: 'Логи' },
|
||||||
{ to: '/settings', icon: Settings, 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() {
|
export default function Sidebar() {
|
||||||
|
|||||||
Reference in New Issue
Block a user