From 4825f449400329e31646eec3d6cb9cb5953c0b4a Mon Sep 17 00:00:00 2001 From: pontifier Date: Wed, 9 Oct 2013 17:43:56 -0600 Subject: [PATCH] Update express.js Pretty format html from jade templates. --- config/express.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/express.js b/config/express.js index e650838001..dc72f4c981 100755 --- a/config/express.js +++ b/config/express.js @@ -9,7 +9,7 @@ var express = require('express'), module.exports = function(app, passport, db) { app.set('showStackError', true); - + app.locals.pretty = true; //Should be placed before express.static app.use(express.compress({ filter: function(req, res) {