title: How to add hash to urls in react-router 4
body: <p>I would like to add hash to my endopints in react-router for preventing error responses from server. I'm using <code>python -m SimpleHTTPServer -p 8888</code> for creating server. </p>
  
  <p>This short example works but when I'm trying reload page on some route like  <code>/about</code> then I get an error: <code>Error response Error code 404. Message: File not found. Error code explanation: 404 = Nothing matches the given URI.</code></p>
  
  <pre><code>import { BrowserRouter as Router, Route, Link, Switch } from "react-router-dom";
  
  const Routes = () =&gt; (
      &lt;Router&gt;
          &lt;div&gt;
              &lt;ul&gt;
                  &lt;li&gt;&lt;Link to="/about"&gt;About Link&lt;/Link&gt;&lt;/li&gt;
                  &lt;li&gt;&lt;Link to="/company"&gt;Company Link&lt;/Link&gt;&lt;/li&gt;
              &lt;/ul&gt;
              &lt;Switch&gt;
                  &lt;Route path="/about" component={About} /&gt;
                  &lt;Route path="/company" component={Company} /&gt;
              &lt;/Switch&gt;
          &lt;/div&gt;
      &lt;/Router&gt;
  );
  
  class App extends React.Component {
      render() {
          return (
                  &lt;Routes /&gt;          
          );
      }
  }
  </code></pre>