title: React Router Gives 404 error on production
body: <p>React Router works on local machine, Chrome but not on safari and other browsers,</p>
  
  <pre><code> &lt;Switch&gt;
      &lt;Route exact path={"/"} component={Home} /&gt;
      &lt;Route path="/programs/:slug" component={Programs} /&gt;
      &lt;Route path="/page/:slug" component={Page} /&gt;
      &lt;Route component={NotFound} /&gt;
  &lt;/Switch&gt;
  </code></pre>
  
  <p>thats my code but it works perfectly in development mode no errors but on production, safari gives 404 error when i navigate to programs/:slug or page/:slug</p>