title: Why does my express wildcard route override my static middleware?
body: <p>I've been having an issue with Express v.4.14.  My wildcard route seems to be overriding my static middleware.  Here is the code:</p>
  
  <pre><code>    const app = express()
      const indexPath = path.join(__dirname, './index.html')
      const publicPath = express.static(path.join(__dirname, './public'))
  
      app.use('/public', publicPath)
      app.get('/*', function(req, res) { res.sendFile(indexPath); });
  
      return app
  </code></pre>
  
  <p>For some reason, a request to '/public/SomeExistingFile.js' returns '/index.html'.  If I remove the wildcard (*) then the static middleware is not overridden, but I no longer match arbitrary routes.</p>
  
  <p>Any help is greatly appreciated!</p>
  
  <p><em>Extra Context:  I am trying to use Webpack to serve a single page web app with React, React Router and Redux.</em></p>