Disabling space-less json for development.

This commit is contained in:
Scott Erickson 2014-10-29 14:17:07 -07:00
parent 6db298f03c
commit 54a9497a4f

View file

@ -156,4 +156,4 @@ exports.setExpressConfigurationOptions = (app) ->
app.set('view engine', 'jade')
app.set('view options', { layout: false })
app.set('env', if config.isProduction then 'production' else 'development')
app.set('json spaces', 0)
app.set('json spaces', 0) if config.isProduction