Adjusting example

app.get('/', function(req, res) {
  res.render('index.html');
}); 

is not needed because 

app.use(express.static(__dirname + '/public'));

allow reading any file from /public folder