mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
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)
|
||||
app.use(express.logger('prod'))
|
||||
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')
|
||||
else
|
||||
express.logger.format('dev', developmentLogging)
|
||||
|
|
Loading…
Reference in a new issue