I would like some help on how to create the _redirects file in order to other pages of my website work. It's using react-router. Could you please show me one example of how should I do it. The urls uses params and querys.
<Router basename = {process.env.PUBLIC_URL}>
<Switch>
<Route exact path = "/">
<Root/>
</Route>
<Route exact path = {"/Pesquisar/:searchField/:page"} component = {withRouter(Pesquisa)}>
</Route>
<Route exact path = {"/documento/:id"} component = {Documento}>
</Route>
<Route exact insecure component={ Insecure }/>
</Switch>
</Router>
);
}
this is the App.js file, which is using the react-router. What should the _redirects look like?