I think the server needs to gzip now, and possibly only a bug is keeping it working.
This commit is contained in:
parent
222e532006
commit
5aefd5ffa2
1 changed files with 0 additions and 1 deletions
|
@ -56,7 +56,6 @@ 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.
|
|
||||||
compressible res.getHeader('Content-Type')
|
compressible res.getHeader('Content-Type')
|
||||||
else
|
else
|
||||||
express.logger.format('dev', developmentLogging)
|
express.logger.format('dev', developmentLogging)
|
||||||
|
|
Reference in a new issue