mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-13 12:30:21 +00:00
update routes
This commit is contained in:
parent
7cbe8e1d00
commit
21a0757af0
1 changed files with 1 additions and 5 deletions
|
|
@ -84,11 +84,7 @@ function App() {
|
|||
<Route exact path="/search/:type">
|
||||
<Redirect to="/browse" />
|
||||
</Route>
|
||||
<Route exact path="/browse/:query?" component={SearchView} />
|
||||
<Route exact path="/">
|
||||
<Redirect to="/browse" />
|
||||
</Route>
|
||||
|
||||
<Route path={["/", "/browse/:query"]} component={SearchView} />
|
||||
{/* other */}
|
||||
<Route
|
||||
exact
|
||||
|
|
|
|||
Loading…
Reference in a new issue