diff --git a/index.js b/index.js index 370ec69..591ff43 100644 --- a/index.js +++ b/index.js @@ -76,6 +76,9 @@ app.get('/', function(req, res) { var thousands = true; res.format({ + html: function() { + template_file = 'index.html'; + }, text: function() { template_file = 'index.txt'; },