Could gzipping be doing anything bad to our BrowserStack proxy problem?

This commit is contained in:
Nick Winter 2014-10-24 14:46:41 -07:00
parent 42b81fd55e
commit e56a5bba30

View file

@ -32,7 +32,7 @@ setupExpressMiddleware = (app) ->
express.logger.format('prod', productionLogging) express.logger.format('prod', productionLogging)
app.use(express.logger('prod')) app.use(express.logger('prod'))
app.use express.compress filter: (req, res) -> app.use express.compress filter: (req, res) ->
#return false if req.headers.host is 'codecombat.com' # CloudFlare will gzip it for us on codecombat.com # But now it's disabled. return false if req.headers.host is 'codecombat.com' # CloudFlare will gzip it for us on codecombat.com # But now it's disabled.
compressible res.getHeader('Content-Type') compressible res.getHeader('Content-Type')
else else
app.use(express.logger('dev')) app.use(express.logger('dev'))