title: How can I get Express.js to 404 only on missing routes?
body: <p>At the moment I have the following which sits below all my other routes:</p>
  
  <pre><code>app.get('*', function(req, res){
    console.log('404ing');
    res.render('404');
  });
  </code></pre>
  
  <p>And according to the logs, it is being fired even when the route is being matched above.  How can I get it to only fire when nothing is matched?</p>