title: 404 issue with a React Project deployed with Github Pages
body: <p>I finished a React project, but when I deployed it with Github Pages, I have a 404 issue,</p>
  
  <p><strong>The URL of the online project is here : <a href="https://versifiction.github.io/api-ratp/" rel="nofollow noreferrer">https://versifiction.github.io/api-ratp/</a></strong></p>
  
  <p>When we go on it, we are redirected on the 404 page that I made with React-Router (component of the routing : <strong><a href="https://github.com/Versifiction/api-ratp/blob/master/src/App.js" rel="nofollow noreferrer">https://github.com/Versifiction/api-ratp/blob/master/src/App.js</a></strong>),</p>
  
  <p>I think we are redirected to the 404 because the "/api-ratp" in the URL is not declared in the routes, but if I want to deploy this project with Github Pages I have to use the Github repository name on the URL,</p>
  
  <p>Is there a way to change the basepath of the project or something ?
  Someone knows how can I resolve this ? Thank you !</p>
  
  <p><strong>Edit: I solved the issue by adding the prop "basename" to the Router</strong></p>
  
  <p><strong></strong></p>