mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Migrate quick connect page to react
This commit is contained in:
parent
9435e3172d
commit
d24b030962
15 changed files with 179 additions and 88 deletions
|
@ -10,6 +10,8 @@ import { toViewManagerPageRoute } from 'components/router/LegacyRoute';
|
|||
|
||||
import { ASYNC_ADMIN_ROUTES, ASYNC_USER_ROUTES } from './routes/asyncRoutes';
|
||||
import { LEGACY_ADMIN_ROUTES, LEGACY_PUBLIC_ROUTES, LEGACY_USER_ROUTES } from './routes/legacyRoutes';
|
||||
import { REDIRECTS } from './routes/_redirects';
|
||||
import { toRedirectRoute } from 'components/router/Redirect';
|
||||
|
||||
const Layout = () => (
|
||||
<>
|
||||
|
@ -53,7 +55,7 @@ const StableApp = () => (
|
|||
<Route path='*' element={null} />
|
||||
|
||||
{/* Redirects for old paths */}
|
||||
<Route path='/serveractivity.html' element={<Navigate replace to='/dashboard/activity' />} />
|
||||
{REDIRECTS.map(toRedirectRoute)}
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue