mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
16 lines
410 B
TypeScript
16 lines
410 B
TypeScript
import React from 'react';
|
|
import { Route, Routes } from 'react-router-dom';
|
|
|
|
import SearchPage from './search';
|
|
|
|
const AppRoutes = () => (
|
|
<Routes>
|
|
<Route path='/'>
|
|
<Route path='search.html' element={<SearchPage />} />
|
|
{/* Suppress warnings for unhandled routes */}
|
|
<Route path='*' element={null} />
|
|
</Route>
|
|
</Routes>
|
|
);
|
|
|
|
export default AppRoutes;
|