nodejs static content NOT using sendFile
<p>How can I make nodejs serve up static content without having to use sendFile? The problem with sendFile is it opens another tab as you navigate from page to page, here is a snippet...</p>

<pre><code>app.use(express.static(__dirname + '/public'));
app.use(bodyParser.urlencoded({ extended: true }));
app.post('/verify', function(request, response) {
  var oneTimeCode = request.body.oneTimeCode;
  var timeEntry = Date.now();
  if (oneTimeCode == 'abc123') {      
    response.sendFile('/home/ubuntu/form.html');
  } else {......
</code></pre>

<p>Can I use something like this in place of sendFile?</p>

<pre><code>app.use(express.static(__dirname + '/home/ubuntu/form.html'));
</code></pre>