mirror of https://github.com/sussy-code/smov.git
adjust routes
This commit is contained in:
parent
e86a9c2698
commit
386afd21ea
|
@ -84,7 +84,8 @@ function App() {
|
||||||
<Route exact path="/search/:type">
|
<Route exact path="/search/:type">
|
||||||
<Redirect to="/browse" />
|
<Redirect to="/browse" />
|
||||||
</Route>
|
</Route>
|
||||||
<Route path={["/", "/browse/:query"]} component={SearchView} />
|
<Route exact path="/browse/:query" component={SearchView} />
|
||||||
|
<Route exact path="/" component={SearchView} />
|
||||||
{/* other */}
|
{/* other */}
|
||||||
<Route
|
<Route
|
||||||
exact
|
exact
|
||||||
|
|
Loading…
Reference in New Issue