cleanly format html output

This commit is contained in:
2012-02-24 19:01:14 +00:00
parent 7d504bd777
commit 29a053cca9
3 changed files with 15 additions and 3 deletions

4
app.js
View File

@@ -29,7 +29,9 @@
});
app.get('/', function(req, res) {
return res.render('index');
return res.render('index', {
format: true
});
});
app.listen(process.env.PORT || 3000);