I\'m using this to have Node.js/Express setup as a rudimentary web server - it just serves a set of static pages without any other processing. I\'d like it to always serve /
It's weird that no one mentioned redirection.
app.get('/', function(req, res){ res.redirect('/default.html'); });
This -of course- assumes that you have your 'default.html' at the public path. You can set your public path by using:
app.use(express.static(relative_path_to_project_root));