title: express.static vs. res.sendFile
body: <p>What's the difference and which should I use? My goal is to simply serve static html pages and files.</p>
  
  <pre><code>router.use('/', express.static(path.resolve(public + '/index.html')))
  </code></pre>
  
  <p>or</p>
  
  <pre><code>router.get('/', function(req, res) {
    res.sendFile(path.resolve(public + '/index.html'))
  })
  </code></pre>