Okay, we'll just let Cloudflare compress things.

This commit is contained in:
Nick Winter 2014-03-03 18:50:59 -08:00
parent 65d9186ef1
commit 9aa1d5a26c

View file

@ -47,8 +47,7 @@ setupExpressMiddleware = (app) ->
app.use(express.bodyParser()) app.use(express.bodyParser())
app.use(express.methodOverride()) app.use(express.methodOverride())
app.use(express.cookieSession({secret:'defenestrate'})) app.use(express.cookieSession({secret:'defenestrate'}))
if config.isProduction #app.use(express.compress()) if config.isProduction # just let Cloudflare do it
app.use(express.compress())
setupPassportMiddleware = (app) -> setupPassportMiddleware = (app) ->
app.use(authentication.initialize()) app.use(authentication.initialize())