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 /
You could do something like this. Assuming its an html file that is relative to the .js file:
app.get('/', function(req, res){ res.sendfile('default.html', { root: __dirname + "/relative_path_of_file" } ); });