mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 09:11:53 +01:00
update routes
This commit is contained in:
parent
7cbe8e1d00
commit
21a0757af0
@ -84,11 +84,7 @@ function App() {
|
|||||||
<Route exact path="/search/:type">
|
<Route exact path="/search/:type">
|
||||||
<Redirect to="/browse" />
|
<Redirect to="/browse" />
|
||||||
</Route>
|
</Route>
|
||||||
<Route exact path="/browse/:query?" component={SearchView} />
|
<Route path={["/", "/browse/:query"]} component={SearchView} />
|
||||||
<Route exact path="/">
|
|
||||||
<Redirect to="/browse" />
|
|
||||||
</Route>
|
|
||||||
|
|
||||||
{/* other */}
|
{/* other */}
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
|
Loading…
Reference in New Issue
Block a user