title: react-create-app heroku not running app
body: <p>I created a react app with this <a href="https://github.com/mars/create-react-app-buildpack#user-content-web-server" rel="nofollow noreferrer">buildpack</a>.</p>
  
  <p>I also added react router to it, so that my index.js now looks like this:</p>
  
  <pre><code>import React from 'react';
  import ReactDOM from 'react-dom';
  import Home from './views/Home';
  import CreateRestaurant from './views/CreateRestaurant';
  import registerServiceWorker from './registerServiceWorker';
  import {
      BrowserRouter as Router,
      Route
  } from 'react-router-dom';
  
  
  ReactDOM.render(
      &lt;Router&gt;
          &lt;div&gt;
              &lt;Route exact path="/" component={ Home }/&gt;
              &lt;Route path="/createRestaurant" component={ CreateRestaurant }/&gt;
          &lt;/div&gt;
      &lt;/Router&gt;,
      document.getElementById('root')
  );
  registerServiceWorker();
  </code></pre>
  
  <p>When I run this locally it renders my home.js view. However when I do</p>
  
  <pre><code>git push heroku master
  </code></pre>
  
  <p>I get a successful build but when I open the app via the heroku URL</p>
  
  <p>I still get the standard page saying:</p>
  
  <p><em>Welcome to React</em></p>
  
  <p><em>To get started, edit src/App.js and save to reload.</em></p>
  
  <p>How do I get heroku to display my app?</p>