I have not been able to find a better way to make a default route than this:
app.router.get(/((\w|.)*)/, function () {
return nice404page();
}
And by default, Flatiron’s 404 page just has the word “undefined” on it. Not really a compelling user experience ;)