mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-27 00:46:07 +00:00
adjust routes
This commit is contained in:
parent
e86a9c2698
commit
386afd21ea
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue