title: react router doesn't work in aws s3 bucket
body: <p>I deployed my React website <code>build/</code> folder into an AWS S3 bucket.</p>
  
  <p>If I go to <code>www.mywebsite.com</code>, it works and if I click on <code>a</code> tag to go to Project and About pages, it leads me to the right page.
  However, if I copy and send the page url or go straight to the link like: <code>www.mywebsite.com/projects</code>, it returns 404.</p>
  
  <p>Here's my <code>App.js</code> code:</p>
  
  <pre><code>const App = () =&gt; (
      &lt;Router&gt;
          &lt;div&gt;
              &lt;NavBar/&gt;
              &lt;Switch&gt;
                  &lt;Route exact path="/" component={Home}/&gt;
                  &lt;Route exact path="/projects" component={Projects}/&gt;
                  &lt;Route exact path="/about" component={About}/&gt;
                  &lt;Route component={NoMatch}/&gt;
              &lt;/Switch&gt;
          &lt;/div&gt;
      &lt;/Router&gt;
  );
  </code></pre>