adjust routes

This commit is contained in:
castdrian 2023-07-22 22:42:16 +02:00
parent e86a9c2698
commit 386afd21ea
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ function App() {
<Route exact path="/search/:type">
<Redirect to="/browse" />
</Route>
<Route path={["/", "/browse/:query"]} component={SearchView} />
<Route exact path="/browse/:query" component={SearchView} />
<Route exact path="/" component={SearchView} />
{/* other */}
<Route
exact