Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Commit

Permalink
Update express.js
Browse files Browse the repository at this point in the history
Pretty format html from jade templates.
  • Loading branch information
pontifier committed Oct 9, 2013
1 parent 1005d3b commit 4825f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/express.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4825f44

Please sign in to comment.